diff options
| author | Andrei Zmievski <andrei@php.net> | 2005-05-27 17:46:43 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 2005-05-27 17:46:43 +0000 |
| commit | 4e72f8a298cec9b14ab623950863e229b83b829d (patch) | |
| tree | 6e1daec8c779196da1002543254764edb190ba02 /ext/pcre/pcrelib/ucp.h | |
| parent | 743c5bb15bcbc147e2cee4afb13c87b090102e51 (diff) | |
| download | php-git-4e72f8a298cec9b14ab623950863e229b83b829d.tar.gz | |
Upgrade library to version 5.0.
Diffstat (limited to 'ext/pcre/pcrelib/ucp.h')
| -rw-r--r-- | ext/pcre/pcrelib/ucp.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/ucp.h b/ext/pcre/pcrelib/ucp.h new file mode 100644 index 0000000000..c013978e23 --- /dev/null +++ b/ext/pcre/pcrelib/ucp.h @@ -0,0 +1,58 @@ +/************************************************* +* libucp - Unicode Property Table handler * +*************************************************/ + +/* These are the character categories that are returned by ucp_findchar */ + +enum { + ucp_C, /* Other */ + ucp_L, /* Letter */ + ucp_M, /* Mark */ + ucp_N, /* Number */ + ucp_P, /* Punctuation */ + ucp_S, /* Symbol */ + ucp_Z /* Separator */ +}; + +/* These are the detailed character types that are returned by ucp_findchar */ + +enum { + ucp_Cc, /* Control */ + ucp_Cf, /* Format */ + ucp_Cn, /* Unassigned */ + ucp_Co, /* Private use */ + ucp_Cs, /* Surrogate */ + ucp_Ll, /* Lower case letter */ + ucp_Lm, /* Modifier letter */ + ucp_Lo, /* Other letter */ + ucp_Lt, /* Title case letter */ + ucp_Lu, /* Upper case letter */ + ucp_Mc, /* Spacing mark */ + ucp_Me, /* Enclosing mark */ + ucp_Mn, /* Non-spacing mark */ + ucp_Nd, /* Decimal number */ + ucp_Nl, /* Letter number */ + ucp_No, /* Other number */ + ucp_Pc, /* Connector punctuation */ + ucp_Pd, /* Dash punctuation */ + ucp_Pe, /* Close punctuation */ + ucp_Pf, /* Final punctuation */ + ucp_Pi, /* Initial punctuation */ + ucp_Po, /* Other punctuation */ + ucp_Ps, /* Open punctuation */ + ucp_Sc, /* Currency symbol */ + ucp_Sk, /* Modifier symbol */ + ucp_Sm, /* Mathematical symbol */ + ucp_So, /* Other symbol */ + ucp_Zl, /* Line separator */ + ucp_Zp, /* Paragraph separator */ + ucp_Zs /* Space separator */ +}; + +/* For use in PCRE we make this function static so that there is no conflict if +PCRE is linked with an application that makes use of an external version - +assuming an external version is ever released... */ + +static int ucp_findchar(const int, int *, int *); + +/* End of ucp.h */ |
