projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f8b27a6
)
Make /x{abcd}/ to work without use utf8.
Jarkko Hietaniemi [Tue, 6 Mar 2001 15:34:00 +0000 (15:34 +0000)]
p4raw-id: //depot/perl@9058
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
69d114e
..
9a935f7
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-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--;