What it does
Does a string-replacement carry the language's own substitution tokens ($$, $&, $1, backreferences) in the REPLACEMENT half, where they are reinterpreted rather than inserted literally?
How it helps you
Text replacement handles special characters as plain text.
Tested against itself
9 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 | Security |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| CWE | CWE-74 |
| Breaks caught | 9 |