1%{
2#include "regint.h"
3%}
4
5struct PropertyNameCtype {
6  char *name;
7  int ctype;
8};
9
10%%
11Alpha,     1
12Blank,     2
13Cntrl,     3
14Digit,     4
15Graph,     5
16Lower,     6
17Print,     7
18Punct,     8
19Space,     9
20Upper,    10
21XDigit,   11
22Word,     12
23Alnum,    13
24ASCII,    14
25Hiragana, 15
26Katakana, 16
27