mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
typo fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2a67d0b9f9
commit
3c8ac80202
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class String
|
|||
printf STDERR, "feel free for some warnings:\n" if $VERBOSE
|
||||
|
||||
def _regex_quote(str)
|
||||
str.gsub(/[][\\]/, '\\\\\&)
|
||||
str.gsub(/[][\\]/, '\\\\\&')
|
||||
end
|
||||
private :_regex_quote
|
||||
|
||||
|
|
Loading…
Reference in a new issue