Skip to content

Commit

Permalink
Fix redundant escape inside regexp literal
Browse files Browse the repository at this point in the history
  • Loading branch information
yujideveloper committed May 7, 2021
1 parent 98bab62 commit 7b81bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_es_ar_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def setup
@one_or_more_words_pattern = /(?u:(?:\w+\ )*\w+)/
@many_words_pattern = /(?u:(?:\w+\ )+\w+)/

@name_with_nickname_pattern = /(?u:(?:\'*\w+\'*\ )+(?:\'*\w+\'*))/
@name_with_nickname_pattern = /(?u:(?:'*\w+'*\ )+(?:'*\w+'*))/

@compass_letter_pattern = /^[NEOS]{1,2}(?:p?[NEOS]{1,2})?$/
@compass_number_pattern = /^\d+(?:.\d\d?)?$/
Expand Down

0 comments on commit 7b81bdf

Please sign in to comment.