summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-08 19:09:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-08 19:09:27 +0000
commit653099ff2c52a6af02b3894d684593dfe31dcc17 (patch)
tree705c2971e242d8197c594afa4dd284aa81eb3122 /regcomp.h
parent9059aa122db2d4c1150f251f11957d6ea46db4ae (diff)
downloadperl-653099ff2c52a6af02b3894d684593dfe31dcc17.tar.gz
apply change#4618 again along with Ilya's patch to fix bugs
in it (see change#4622) p4raw-link: @4622 on //depot/perl: 34baa6c30415f54e9b8c2e622de1e229cf36d781 p4raw-link: @4618 on //depot/perl: f9d9cdce9cbb41baf3d0716ebac8540732d59bf8 p4raw-id: //depot/perl@4669
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index 2fcf7a917a..3624917c6e 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -185,7 +185,12 @@ struct regnode_charclass_class {
#define ANYOF_FOLD 0x02
#define ANYOF_LOCALE 0x01
+/* Used for regstclass only */
+#define ANYOF_EOS 0x10 /* Can match an empty string too */
+
/* Character classes for node->classflags of ANYOF */
+/* Should be synchronized with a table in regprop() */
+/* 2n should pair with 2n+1 */
#define ANYOF_ALNUM 0 /* \w, utf8::IsWord, isALNUM() */
#define ANYOF_NALNUM 1