What it does
A regex that opens on any quote character but shuts the door on all three instead of only the one that opened.
How it helps you
Code scanners read quoted text correctly, which reduces false results.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Test quality |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 264 |
| ISO/IEC 25010 | Maintainability: testability |
| Breaks caught | 3 |