summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
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 c627cb2eb1..426b49039e 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;