-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
FindLiterals
to match text blocks
For `FindLiterals` it makes more sense to match the regex against the literal's value, as that will then have the quotes stripped. Also for other literals it makes sense to match the pattern against the value, so that e.g. a pattern `1000` also matches an integer literal like `1_000`.
- Loading branch information
1 parent
777d6e1
commit 6cc119a
Showing
2 changed files
with
48 additions
and
6 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