diff options
author | Yves Orton <demerphq@gmail.com> | 2008-11-06 18:48:28 +0000 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2008-11-06 18:48:28 +0000 |
commit | 24d786f4d2806834028ce32abc1769da2e945f9b (patch) | |
tree | 0521967ddf8d97acb3f2a223e518b5b9c34c9291 /regcomp.h | |
parent | a4893424bce3ee5da2b2e8e1c256b806c74bfb50 (diff) | |
download | perl-24d786f4d2806834028ce32abc1769da2e945f9b.tar.gz |
Various changes to regex diagnostics and testing
* Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one
* Make it possible to make tests in re_tests todo.
* add a todo test for a complementary character class match that should fail (perl #60156)
* Also add a comment explaining a previous commit (relating to perl #60344)
p4raw-id: //depot/perl@34755
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -317,9 +317,9 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */ #define ANYOF_NALNUM 1 #define ANYOF_SPACE 2 /* \s */ #define ANYOF_NSPACE 3 -#define ANYOF_DIGIT 4 +#define ANYOF_DIGIT 4 /* \d */ #define ANYOF_NDIGIT 5 -#define ANYOF_ALNUMC 6 /* isalnum(3), utf8::IsAlnum, ALNUMC */ +#define ANYOF_ALNUMC 6 /* [[:alnum:]] isalnum(3), utf8::IsAlnum, ALNUMC */ #define ANYOF_NALNUMC 7 #define ANYOF_ALPHA 8 #define ANYOF_NALPHA 9 |