diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-06 15:34:00 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-06 15:34:00 +0000 |
commit | aaa800280dee4b6e1a3c29a204a21ca87558d716 (patch) | |
tree | 0db2efec180f916b651201cded20c061619997d1 /regcomp.c | |
parent | f8b27a635b65adb6389cb6bfb488f05f8f7ef8f2 (diff) | |
download | perl-aaa800280dee4b6e1a3c29a204a21ca87558d716.tar.gz |
Make /x{abcd}/ to work without use utf8.
p4raw-id: //depot/perl@9058
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2881,6 +2881,8 @@ tryagain: else { numlen = 1; /* allow underscores */ ender = (UV)scan_hex(p + 1, e - p - 1, &numlen); + if (ender > 0xff) + RExC_utf8 = 1; /* numlen is generous */ if (numlen + len >= 127) { p--; |