| 74 |
character that is to be tested in some way. This makes is possible to |
character that is to be tested in some way. This makes is possible to |
| 75 |
centralize the loading of these characters. In the case of Type * etc, the |
centralize the loading of these characters. In the case of Type * etc, the |
| 76 |
"character" is the opcode for \D, \d, \S, \s, \W, or \w, which will always be a |
"character" is the opcode for \D, \d, \S, \s, \W, or \w, which will always be a |
| 77 |
small value. */ |
small value. ***NOTE*** If the start of this table is modified, the two tables |
| 78 |
|
that follow must also be modified. */ |
| 79 |
|
|
| 80 |
static uschar coptable[] = { |
static uschar coptable[] = { |
| 81 |
0, /* End */ |
0, /* End */ |
| 82 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* \A, \G, \B, \b, \D, \d, \S, \s, \W, \w */ |
0, 0, 0, 0, 0, /* \A, \G, \K, \B, \b */ |
| 83 |
|
0, 0, 0, 0, 0, 0, /* \D, \d, \S, \s, \W, \w */ |
| 84 |
0, 0, /* Any, Anybyte */ |
0, 0, /* Any, Anybyte */ |
| 85 |
0, 0, 0, 0, /* NOTPROP, PROP, EXTUNI, ANYNL */ |
0, 0, 0, 0, /* NOTPROP, PROP, EXTUNI, ANYNL */ |
| 86 |
0, 0, 0, 0, 0, /* \Z, \z, Opt, ^, $ */ |
0, 0, 0, 0, 0, /* \Z, \z, Opt, ^, $ */ |
| 129 |
and \w */ |
and \w */ |
| 130 |
|
|
| 131 |
static uschar toptable1[] = { |
static uschar toptable1[] = { |
| 132 |
0, 0, 0, 0, 0, |
0, 0, 0, 0, 0, 0, |
| 133 |
ctype_digit, ctype_digit, |
ctype_digit, ctype_digit, |
| 134 |
ctype_space, ctype_space, |
ctype_space, ctype_space, |
| 135 |
ctype_word, ctype_word, |
ctype_word, ctype_word, |
| 137 |
}; |
}; |
| 138 |
|
|
| 139 |
static uschar toptable2[] = { |
static uschar toptable2[] = { |
| 140 |
0, 0, 0, 0, 0, |
0, 0, 0, 0, 0, 0, |
| 141 |
ctype_digit, 0, |
ctype_digit, 0, |
| 142 |
ctype_space, 0, |
ctype_space, 0, |
| 143 |
ctype_word, 0, |
ctype_word, 0, |