Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we no longer throw a violation if both regexes are modified in the sa…
…me way. This avoids violations for people who always append "smx" onto their regexes like good PBP followers. We now throw violations for different uses of 's' modifier. We do not throw violations for different uses of 'x' modifiers. M t/Bangs/ProhibitUselessRegexModifiers.run M lib/Perl/Critic/Policy/Bangs/ProhibitUselessRegexModifiers.pm
- Loading branch information
Showing
2 changed files
with
42 additions
and
10 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