mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-12-31 21:59:07 +03:00
Fix defn of POSIX graph, print, punct classes
The POSIX classes [:graph:], [:print:] and [:punct:] are handled specially in UCP mode by PCRE. This change matches that behaviour.
This commit is contained in:
committed by
Matthew Barr
parent
313822c157
commit
bdb7a10034
@@ -63,7 +63,9 @@ enum PredefinedClass {
|
||||
CLASS_VERT,
|
||||
CLASS_WORD,
|
||||
CLASS_XDIGIT,
|
||||
CLASS_XGRAPH,
|
||||
CLASS_XGRAPH, /* [:graph:] in UCP mode */
|
||||
CLASS_XPRINT, /* [:print:] in UCP mode */
|
||||
CLASS_XPUNCT, /* [:punct:] in UCP mode */
|
||||
CLASS_UCP_C,
|
||||
CLASS_UCP_CC,
|
||||
CLASS_UCP_CF,
|
||||
|
||||
Reference in New Issue
Block a user