diff src/regex.c @ 93033:408f1bfeb7e8

(re_match_2_internal): Properly match raw 8-bit bytes against a charset.
author Andreas Schwab <schwab@suse.de>
date Mon, 17 Mar 2008 14:52:34 +0000
parents 72213c342fe7
children 6a347c175702
line wrap: on
line diff
--- a/src/regex.c	Mon Mar 17 14:32:31 2008 +0000
+++ b/src/regex.c	Mon Mar 17 14:52:34 2008 +0000
@@ -5689,6 +5689,8 @@
 			c = c1;
 		      }
 		  }
+		else
+		  unibyte_char = true;
 	      }
 
 	    if (unibyte_char && c < (1 << BYTEWIDTH))