What it does
A quantifier right after a bare multibyte character binds to only its last byte under a byte-oriented regex engine.
How it helps you
Text matching handles international characters correctly.
Tested against itself
2 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Code quality |
|---|---|
| Also filed under | Test quality |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 2 |