X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=pcre3.git;a=blobdiff_plain;f=pcre_xclass.c;h=ef759a589a621de89aeef30a09c10b94452bbac1;hp=c2b61f0f920f1b54181e5a7017c957ebf6384beb;hb=50aa7778a6bb8b81a9e03e8744f797362183772e;hpb=dd986e8b547c0dde924c4b566ad0894ad4f1beb9;ds=sidebyside diff --git a/pcre_xclass.c b/pcre_xclass.c index c2b61f0..ef759a5 100644 --- 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;