diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-09-01 09:48:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-09-01 09:48:03 +0000 |
commit | 69a3aaf154948d653fa3653cd2b3c3b3af979769 (patch) | |
tree | f83116ebca291337b9948831c617217c18f6a317 /lib/jcode.rb | |
parent | a1b57d0add85a248666fb55c58aa8c0c772136fc (diff) |
regexp literal (e.g. \202) match, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 92b9284471..6e5bc9e99d 100644 --- a/lib/jcode.rb +++ b/lib/jcode.rb @@ -104,7 +104,7 @@ class String self.gsub!(pattern, last) else h = HashCache[from + "::" + to] ||= expand_ch_hash(from, to) - self.gsub!(pattern) do |c| h[c] end + self.gsub!(pattern) do |c| p [c,h[c]]; h[c] end end end |