X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=regcomp.h;h=3624917c6e2d93d83ad71f3f9539f3b2ea69ee15;hb=cb64dba4c7358c2e02c1ac7a571173423f71980f;hp=2fcf7a917aaa8c754183b1d1bd5c65f19d931d9c;hpb=936ed89792056e61b492edd0cf6cce00104ce2f5;p=p5sagit%2Fp5-mst-13.2.git diff --git a/regcomp.h b/regcomp.h index 2fcf7a9..3624917 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