projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c9daa0
)
regcomp.c: Be more precise about ANYOF matching flag
author
Karl Williamson
<public@khwilliamson.com>
Sun, 6 Feb 2011 03:04:54 +0000
(20:04 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 14 Feb 2011 15:41:36 +0000
(08:41 -0700)
There are two flags for matching outside the ANYOF bitmap. Instead of
setting both, set the corresponding one.
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
9955084
..
fa9e492
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-9775,7
+9775,7
@@
parseit:
/* This node is variable length */
OP(ret) = ANYOFV;
- ANYOF_FLAGS(ret) |= ANYOF_U
NICODE
;
+ ANYOF_FLAGS(ret) |= ANYOF_U
TF8
;
}
}
else { /* Single character fold */