/[pcre]/code/trunk/ucp.h
ViewVC logotype

Contents of /code/trunk/ucp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 75 - (hide annotations) (download)
Sat Feb 24 21:40:37 2007 UTC (7 years, 5 months ago) by nigel
File MIME type: text/plain
File size: 1831 byte(s)
Load pcre-5.0 into code/trunk.

1 nigel 75 /*************************************************
2     * libucp - Unicode Property Table handler *
3     *************************************************/
4    
5     /* These are the character categories that are returned by ucp_findchar */
6    
7     enum {
8     ucp_C, /* Other */
9     ucp_L, /* Letter */
10     ucp_M, /* Mark */
11     ucp_N, /* Number */
12     ucp_P, /* Punctuation */
13     ucp_S, /* Symbol */
14     ucp_Z /* Separator */
15     };
16    
17     /* These are the detailed character types that are returned by ucp_findchar */
18    
19     enum {
20     ucp_Cc, /* Control */
21     ucp_Cf, /* Format */
22     ucp_Cn, /* Unassigned */
23     ucp_Co, /* Private use */
24     ucp_Cs, /* Surrogate */
25     ucp_Ll, /* Lower case letter */
26     ucp_Lm, /* Modifier letter */
27     ucp_Lo, /* Other letter */
28     ucp_Lt, /* Title case letter */
29     ucp_Lu, /* Upper case letter */
30     ucp_Mc, /* Spacing mark */
31     ucp_Me, /* Enclosing mark */
32     ucp_Mn, /* Non-spacing mark */
33     ucp_Nd, /* Decimal number */
34     ucp_Nl, /* Letter number */
35     ucp_No, /* Other number */
36     ucp_Pc, /* Connector punctuation */
37     ucp_Pd, /* Dash punctuation */
38     ucp_Pe, /* Close punctuation */
39     ucp_Pf, /* Final punctuation */
40     ucp_Pi, /* Initial punctuation */
41     ucp_Po, /* Other punctuation */
42     ucp_Ps, /* Open punctuation */
43     ucp_Sc, /* Currency symbol */
44     ucp_Sk, /* Modifier symbol */
45     ucp_Sm, /* Mathematical symbol */
46     ucp_So, /* Other symbol */
47     ucp_Zl, /* Line separator */
48     ucp_Zp, /* Paragraph separator */
49     ucp_Zs /* Space separator */
50     };
51    
52     /* For use in PCRE we make this function static so that there is no conflict if
53     PCRE is linked with an application that makes use of an external version -
54     assuming an external version is ever released... */
55    
56     static int ucp_findchar(const int, int *, int *);
57    
58     /* End of ucp.h */

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12