summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-15 20:49:59 -0600
committerKarl Williamson <public@khwilliamson.com>2012-11-19 17:13:00 -0700
commitf39a4dc253ff51cabd56ad1bfcb65547ce7be501 (patch)
treeb9c845c36da8cc74ca2466d565027e600fda3753 /regcomp.h
parentb99ea430ce1f7215248ce67a7471367dbc1380e0 (diff)
downloadperl-f39a4dc253ff51cabd56ad1bfcb65547ce7be501.tar.gz
regcomp: Change name of #define to better reflect its purpose
ANYOF_MAX is used for two different purposes; this separates them and creates a separate #define for one of them.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index e9a64feea0..1f6f765799 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -428,6 +428,9 @@ struct regnode_charclass_class {
#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