Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an error for
Performance/RegexpMatch
Follow up rubocop/rubocop-performance#73 (comment). This commit fixes an error for `Performance/RegexpMatch` when a regexp used independently with a regexp used in `if` are mixed.
- Loading branch information
1 parent
47748d7
commit 3127b87
Showing
2 changed files
with
20 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