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:
Justin Viiret
2015-11-16 16:43:43 +11:00
committed by Matthew Barr
parent 313822c157
commit bdb7a10034
4 changed files with 35 additions and 3 deletions

View File

@@ -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,