~vjsamuel/drizzle/bug-616035

« back to all changes in this revision

Viewing changes to regex/cclass.h

  • Committer: Stewart Smith
  • Date: 2008-07-09 01:40:54 UTC
  • mfrom: (105 drizzle)
  • mto: This revision was merged to the branch mainline in revision 111.
  • Revision ID: stewart@flamingspork.com-20080709014054-xfgfzirbhqzrzkkj
mergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* character-class table */
2
 
 
3
 
#define CCLASS_ALNUM    0
4
 
#define CCLASS_ALPHA    1
5
 
#define CCLASS_BLANK    2
6
 
#define CCLASS_CNTRL    3
7
 
#define CCLASS_DIGIT    4
8
 
#define CCLASS_GRAPH    5
9
 
#define CCLASS_LOWER    6
10
 
#define CCLASS_PRINT    7
11
 
#define CCLASS_PUNCT    8
12
 
#define CCLASS_SPACE    9
13
 
#define CCLASS_UPPER    10
14
 
#define CCLASS_XDIGIT   11
15
 
#define CCLASS_LAST     12
16
 
 
17
 
extern struct cclass {
18
 
        const char *name;
19
 
        const char *chars;
20
 
        const char *multis;
21
 
        uint  mask;
22
 
} cclasses[];