diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-15 21:45:05 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-11-19 17:13:01 -0700 |
commit | a0947d7b65b4267c8257d473fcf90e6c0d46bdf1 (patch) | |
tree | d9c16aebe4d45840695f42cfc97a90a2ae9dd821 /regcomp.h | |
parent | 87cad4c09451b76f5dcf8b493f84dc07cc915ce6 (diff) | |
download | perl-a0947d7b65b4267c8257d473fcf90e6c0d46bdf1.tar.gz |
regexes: Add \v to table of latin1 char classes
This will be used in future commits to allow \v and \V to be treated
consistently with other character classes. (Doing the same for \h isn't
necessary, as it matches identically to [:blank:] in the entire Unicode
range.)
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -427,6 +427,11 @@ struct regnode_charclass_class { #define ANYOF_VERTWS ((ANYOF_MAX)+0) #define ANYOF_NVERTWS ((ANYOF_MAX)+1) +#if (ANYOF_VERTWS != (_CC_VERTSPACE) * 2) \ + || (_CC_VERTSPACE != _HIGHEST_REGCOMP_DOT_H_SYNC) +# error Problem with handy.h _CC_VERTSPACE #define +#endif + #define ANYOF_HORIZWS ((ANYOF_MAX)+2) #define ANYOF_NHORIZWS ((ANYOF_MAX)+3) |