summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_xclass.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2016-01-31 20:33:17 -0800
committerStanislav Malyshev <stas@php.net>2016-01-31 20:37:47 -0800
commitca02d9c2d6f9bea7bf8abe607f1ee9484b1d7b62 (patch)
treee160528084046e2afc3bd3da4ce43bf0a808fa9a /ext/pcre/pcrelib/pcre_xclass.c
parentdf78eacc2f136b0bf5669e1a914672ea98783940 (diff)
downloadphp-git-ca02d9c2d6f9bea7bf8abe607f1ee9484b1d7b62.tar.gz
Upgrade bundled PCRE to 8.38
Diffstat (limited to 'ext/pcre/pcrelib/pcre_xclass.c')
-rw-r--r--ext/pcre/pcrelib/pcre_xclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_xclass.c b/ext/pcre/pcrelib/pcre_xclass.c
index c2b61f0f92..ef759a589a 100644
--- a/ext/pcre/pcrelib/pcre_xclass.c
+++ b/ext/pcre/pcrelib/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;