Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no-warning-comments rule escapes special RegEx characters in ter…
…ms (#16090) * fix: no-warning-comments rule escapes special RegEx characters in terms * Fix unit test and explanatory comment * Fix comment about $ matching * Undo accidental formatting. * Only include \W when the term starts or ends with a non-word character * Performance improvements * Simplify regexes
- Loading branch information
1 parent
ca83178
commit 30be0ed
Showing
2 changed files
with
158 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters