~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to regex/cclass.h

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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[];