home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 January / Chip_2001-01_cd1.bin / tema / mysql / mysql-3.23.28g-win-source.exe / regex / cclass.h next >
C/C++ Source or Header  |  2000-08-31  |  411b  |  22 lines

  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.     char *name;
  19.     char *chars;
  20.     char *multis;
  21. } cclasses[];
  22.