chiark
/
gitweb
/
~ian
/
pcre3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge from existing archive branch
[pcre3.git]
/
pcre_xclass.c
diff --git
a/pcre_xclass.c
b/pcre_xclass.c
index c2b61f0f920f1b54181e5a7017c957ebf6384beb..ef759a589a621de89aeef30a09c10b94452bbac1 100644
(file)
--- a/
pcre_xclass.c
+++ b/
pcre_xclass.c
@@
-246,7
+246,7
@@
while ((t = *data++) != XCL_END)
case PT_PXPUNCT:
if ((PRIV(ucp_gentype)[prop->chartype] == ucp_P ||
- (c <
256
&& PRIV(ucp_gentype)[prop->chartype] == ucp_S)) == isprop)
+ (c <
128
&& PRIV(ucp_gentype)[prop->chartype] == ucp_S)) == isprop)
return !negated;
break;