summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-01 07:48:23 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-01 07:48:23 +0000
commit2d05a757236598cc8d9764f70c645a164aa98f33 (patch)
treeb79d198709497f123f1a79a3a52bebac603d7753 /regex.c
parent9b0dd20cbb3d0077c374509eb230adba84ed5488 (diff)
990201
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regex.c b/regex.c
index c627cb2..426b490 100644
--- a/regex.c
+++ b/regex.c
@@ -1308,7 +1308,7 @@ re_compile_pattern(pattern, size, bufp)
SET_LIST_BIT(c);
}
if (current_mbctype) {
- set_list_bits(0x0, 0xffffffff, b);
+ set_list_bits(0x80, 0xffffffff, b);
}
last = -1;
continue;
@@ -1334,7 +1334,7 @@ re_compile_pattern(pattern, size, bufp)
if (!ISSPACE(c))
SET_LIST_BIT(c);
if (current_mbctype) {
- set_list_bits(0, 0xffffffff, b);
+ set_list_bits(0x80, 0xffffffff, b);
}
last = -1;
continue;
@@ -1350,7 +1350,7 @@ re_compile_pattern(pattern, size, bufp)
if (!ISDIGIT(c))
SET_LIST_BIT(c);
if (current_mbctype) {
- set_list_bits(0, 0xffffffff, b);
+ set_list_bits(0x80, 0xffffffff, b);
}
last = -1;
continue;