diff options
Diffstat (limited to 'lib/jcode.rb')
-rw-r--r-- | lib/jcode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jcode.rb b/lib/jcode.rb index 3ce692fc50..e566f96f60 100644 --- a/lib/jcode.rb +++ b/lib/jcode.rb @@ -5,7 +5,7 @@ class String printf STDERR, "feel free for some warnings:\n" if $VERBOSE def _regex_quote(str) - str.gsub(/[][.\\|*?+{}()]/n){|s| + str.gsub(/[][.\\|*?+{}()]/){|s| if s == "\\" then "\\\\" else "\\\\#{s}" end } end |