summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 6aff60cd9e..e9f382f0a4 100644
--- a/regex.c
+++ b/regex.c
@@ -3854,7 +3854,7 @@ re_match_exec(bufp, string_arg, size, pos, beg, regs)
MBC2WC(c, d);
not = is_in_list_mbc(c, p);
if (!not) {
- part = not = is_in_list(cc, p);
+ part = not = is_in_list_sbc(cc, p);
}
} else {
not = is_in_list(c, p);