| 60 |
Returns: TRUE if character matches, else FALSE |
Returns: TRUE if character matches, else FALSE |
| 61 |
*/ |
*/ |
| 62 |
|
|
| 63 |
EXPORT BOOL |
PCRE_EXPORT BOOL |
| 64 |
_pcre_xclass(int c, const uschar *data) |
_pcre_xclass(int c, const uschar *data) |
| 65 |
{ |
{ |
| 66 |
int t; |
int t; |
| 102 |
{ |
{ |
| 103 |
int chartype, othercase; |
int chartype, othercase; |
| 104 |
int rqdtype = *data++; |
int rqdtype = *data++; |
| 105 |
int category = ucp_findchar(c, &chartype, &othercase); |
int category = _pcre_ucp_findchar(c, &chartype, &othercase); |
| 106 |
if (rqdtype >= 128) |
if (rqdtype >= 128) |
| 107 |
{ |
{ |
| 108 |
if ((rqdtype - 128 == category) == (t == XCL_PROP)) return !negated; |
if ((rqdtype - 128 == category) == (t == XCL_PROP)) return !negated; |