diff options
author | Andreas Schwab <schwab@suse.de> | 2008-03-17 14:52:34 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2008-03-17 14:52:34 +0000 |
commit | 0b8be006c60587d86226dae192a74c150d2a6501 (patch) | |
tree | 4fc9c43838c74aa9d90da045c693126bb6a9bb1a /src/regex.c | |
parent | 065a118d496e3f6d2671792f766c953c349db98c (diff) | |
download | emacs-0b8be006c60587d86226dae192a74c150d2a6501.tar.gz |
(re_match_2_internal): Properly match raw 8-bit bytes
against a charset.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c index 9f2a42b4870..eca78f2ab94 100644 --- a/src/regex.c +++ b/src/regex.c @@ -5689,6 +5689,8 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) c = c1; } } + else + unibyte_char = true; } if (unibyte_char && c < (1 << BYTEWIDTH)) |