diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-05-05 10:44:20 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-05-05 10:44:20 +0000 |
commit | 85b995f30cc9bf0bb04f5b3b3707a216a56b6bdf (patch) | |
tree | 6410c80d7502e73c04d5eb0fa4f8ae885e6e3449 /pcre_tables.c | |
parent | 2bcdcbf324bea8939d73f9b32e3625539a4d209e (diff) | |
download | pcre-85b995f30cc9bf0bb04f5b3b3707a216a56b6bdf.tar.gz |
Add new special properties Xan, Xps, Xsp, Xwd to help with \w etc.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@517 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_tables.c')
-rw-r--r-- | pcre_tables.c | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/pcre_tables.c b/pcre_tables.c index b7f7ba5..b1fba85 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -243,6 +243,10 @@ strings to make sure that UTF-8 support works on EBCDIC platforms. */ #define STRING_Tifinagh0 STR_T STR_i STR_f STR_i STR_n STR_a STR_g STR_h "\0" #define STRING_Ugaritic0 STR_U STR_g STR_a STR_r STR_i STR_t STR_i STR_c "\0" #define STRING_Vai0 STR_V STR_a STR_i "\0" +#define STRING_Xan0 STR_X STR_a STR_n "\0" +#define STRING_Xps0 STR_X STR_p STR_s "\0" +#define STRING_Xsp0 STR_X STR_s STR_p "\0" +#define STRING_Xwd0 STR_X STR_w STR_d "\0" #define STRING_Yi0 STR_Y STR_i "\0" #define STRING_Z0 STR_Z "\0" #define STRING_Zl0 STR_Z STR_l "\0" @@ -376,6 +380,10 @@ const char _pcre_utt_names[] = STRING_Tifinagh0 STRING_Ugaritic0 STRING_Vai0 + STRING_Xan0 + STRING_Xps0 + STRING_Xsp0 + STRING_Xwd0 STRING_Yi0 STRING_Z0 STRING_Zl0 @@ -509,11 +517,15 @@ const ucp_type_table _pcre_utt[] = { { 891, PT_SC, ucp_Tifinagh }, { 900, PT_SC, ucp_Ugaritic }, { 909, PT_SC, ucp_Vai }, - { 913, PT_SC, ucp_Yi }, - { 916, PT_GC, ucp_Z }, - { 918, PT_PC, ucp_Zl }, - { 921, PT_PC, ucp_Zp }, - { 924, PT_PC, ucp_Zs } + { 913, PT_ALNUM, 0 }, + { 917, PT_PXSPACE, 0 }, + { 921, PT_SPACE, 0 }, + { 925, PT_WORD, 0 }, + { 929, PT_SC, ucp_Yi }, + { 932, PT_GC, ucp_Z }, + { 934, PT_PC, ucp_Zl }, + { 937, PT_PC, ucp_Zp }, + { 940, PT_PC, ucp_Zs } }; const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table); |