projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
VMS fixups so we can build with MULTIPLICITY
[p5sagit/p5-mst-13.2.git]
/
regcomp.c
diff --git
a/regcomp.c
b/regcomp.c
index
9543710
..
89b3e53
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-2606,7
+2606,7
@@
tryagain:
FAIL("Missing right brace on \\x{}");
else if (UTF) {
numlen = 1; /* allow underscores */
- ender = (UV)scan_hex(p + 1, e - p, &numlen);
+ ender = (UV)scan_hex(p + 1, e - p - 1, &numlen);
/* numlen is generous */
if (numlen + len >= 127) {
p--;