Safefree(name);
}
RExC_parse = e + 1;
- namedclass = ANYOF_MAX; /* no official name, but it's named */
+ namedclass = ANYOF_UNIPROP; /* no official name, but it's named */
/* \p means they want Unicode semantics */
RExC_uni_semantics = 1;
DO_N_POSIX(ret, namedclass, posixes,
PL_PosixXDigit, PL_XPosixXDigit);
break;
- case ANYOF_MAX:
- /* this is to handle \p and \P */
+ case ANYOF_UNIPROP: /* this is to handle \p and \P */
break;
default:
vFAIL("Invalid [::] class");
*flagp |= HASWIDTH|SIMPLE;
break;
- case ANYOF_MAX:
+ case ANYOF_UNIPROP:
break;
case ANYOF_NBLANK:
#define ANYOF_HORIZWS (ANYOF_MAX+3)
#define ANYOF_NHORIZWS (ANYOF_MAX+4)
+#define ANYOF_UNIPROP (ANYOF_MAX+5) /* Used to indicate a Unicode property:
+ \p{} or \P{} */
+
/* Backward source code compatibility. */
#define ANYOF_ALNUML ANYOF_ALNUM