/[pcre]/code/trunk/pcre_xclass.c
ViewVC logotype

Diff of /code/trunk/pcre_xclass.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1364 by ph10, Sat Oct 5 15:45:11 2013 UTC revision 1376 by ph10, Sat Oct 12 18:02:11 2013 UTC
# Line 165  while ((t = *data++) != XCL_END) Line 165  while ((t = *data++) != XCL_END)
165    
166        case PT_SPACE:    /* Perl space */        case PT_SPACE:    /* Perl space */
167        case PT_PXSPACE:  /* POSIX space */        case PT_PXSPACE:  /* POSIX space */
168        if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z ||        switch(c)
169             c == CHAR_HT || c == CHAR_NL || c == CHAR_VT ||          {
170             c == CHAR_FF || c == CHAR_CR) == (t == XCL_PROP))          HSPACE_CASES:
171          return !negated;          VSPACE_CASES:
172            if (t == XCL_PROP) return !negated;
173            break;
174    
175            default:
176            if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == (t == XCL_PROP))
177              return !negated;
178            break;
179            }
180        break;        break;
181    
182        case PT_WORD:        case PT_WORD:

Legend:
Removed from v.1364  
changed lines
  Added in v.1376

  ViewVC Help
Powered by ViewVC 1.1.5