summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-04 15:03:56 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-04 15:03:56 +0000
commitafa2732b784aaac7800ba03d5617d5d395964149 (patch)
treea556f443b098c6ea4e15dcb3eed0629c967834ba
parentf54418b71f57e00d4a50bd86bf7d18b8b5195287 (diff)
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/jcode.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d8a105211..13238e43a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 4 13:44:01 2000 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * lib/jcode.rb: consider multibyte. not /n.
+
Mon Nov 27 17:00:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): should not redefine builtin classes/modules
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