-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance
apply_regex_substitutions
to support multi-line matches
It might be required to replace patterns with more context, e.g. content of the next or previous line to disambiguate otherwise too generic matches. Add parameter `single_line` to enable the old behavior (default) of matching per line and otherwise match the whole text. Add parameter `match_all` to require all patterns to match for each file not only at least one.
- Loading branch information
Showing
2 changed files
with
90 additions
and
39 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