diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-09-23 16:50:00 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-09-23 16:50:00 +0000 |
commit | 05d03818ae1cf4196b9316714f0fd199dfb1b1e2 (patch) | |
tree | 63b12f728462a7a07d2a2f31d1631048a0de1137 /pcre_tables.c | |
parent | 515816cae335b59b2d784ae9bb13711455a7c192 (diff) | |
download | pcre-05d03818ae1cf4196b9316714f0fd199dfb1b1e2.tar.gz |
Update character class handling to use new character case information; rework
\h, \H, \v, and \V to use the same apparatus with centrally defined lists.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1045 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_tables.c')
-rw-r--r-- | pcre_tables.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pcre_tables.c b/pcre_tables.c index b705613..ced15d0 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -58,6 +58,12 @@ the definition is next to the definition of the opcodes in pcre_internal.h. */ const pcre_uint8 PRIV(OP_lengths)[] = { OP_LENGTHS }; +/* Tables of horizontal and vertical whitespace characters, suitable for +adding to classes. */ + +const pcre_uint32 PRIV(hspace_list)[] = { HSPACE_LIST }; +const pcre_uint32 PRIV(vspace_list)[] = { VSPACE_LIST }; + /************************************************* |