summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-14 06:08:44 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-14 06:08:44 +0000
commit81120f937569248317f72d34327cb51cf328a44e (patch)
treedc21b832a367b8f199a299d581988a5d3b3064c1 /re.c
parentd8c8674e7da5af8a7aacbf438b67a766c44cdf08 (diff)
* eval.c (blk_orphan): the wrong condition; backported from 1.7
* eval.c (rb_clear_cache_by_class): new function. * eval.c (set_method_visibility): should have clear cache forq updated visibility. * re.c (rb_reg_s_quote): # also should be quoted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 7ac732334c..9d6cb08392 100644
--- a/re.c
+++ b/re.c
@@ -1086,7 +1086,7 @@ rb_reg_s_quote(argc, argv)
case '(': case ')': case '|': case '-':
case '*': case '.': case '\\':
case '?': case '+': case '^': case '$':
- case ' ':
+ case ' ': case '#':
*t++ = '\\';
break;
}