summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-11-23 17:55:55 -0500
committerGurusamy Sarathy <gsar@cpan.org>1999-12-02 06:56:18 +0000
commitf9d9cdce9cbb41baf3d0716ebac8540732d59bf8 (patch)
treec8092e240475d4477193cc3e8328f0a4fd1aa521 /regcomp.h
parent66e933abe4c687207c84b01b9d96f575c3699b8e (diff)
downloadperl-f9d9cdce9cbb41baf3d0716ebac8540732d59bf8.tar.gz
applied suggested patch with prototype changes
Message-Id: <199911240355.WAA23033@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_62] First char cognizance p4raw-id: //depot/perl@4618
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