9 |
|
|
10 |
Written by: Philip Hazel <ph10@cam.ac.uk> |
Written by: Philip Hazel <ph10@cam.ac.uk> |
11 |
|
|
12 |
Copyright (c) 1997-1999 University of Cambridge |
Copyright (c) 1997-2000 University of Cambridge |
13 |
|
|
14 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
15 |
Permission is granted to anyone to use this software for any purpose on any |
Permission is granted to anyone to use this software for any purpose on any |
25 |
|
|
26 |
3. Altered versions must be plainly marked as such, and must not be |
3. Altered versions must be plainly marked as such, and must not be |
27 |
misrepresented as being the original software. |
misrepresented as being the original software. |
28 |
|
|
29 |
|
4. If PCRE is embedded in any software that is released under the GNU |
30 |
|
General Purpose Licence (GPL), then the terms of that licence shall |
31 |
|
supersede any condition above with which it is incompatible. |
32 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
33 |
*/ |
*/ |
34 |
|
|
207 |
|
|
208 |
case OP_NOT_WORDCHAR: |
case OP_NOT_WORDCHAR: |
209 |
for (c = 0; c < 32; c++) |
for (c = 0; c < 32; c++) |
210 |
start_bits[c] |= ~(cd->cbits[c] | cd->cbits[c+cbit_word]); |
start_bits[c] |= ~cd->cbits[c+cbit_word]; |
211 |
break; |
break; |
212 |
|
|
213 |
case OP_WORDCHAR: |
case OP_WORDCHAR: |
214 |
for (c = 0; c < 32; c++) |
for (c = 0; c < 32; c++) |
215 |
start_bits[c] |= (cd->cbits[c] | cd->cbits[c+cbit_word]); |
start_bits[c] |= cd->cbits[c+cbit_word]; |
216 |
break; |
break; |
217 |
|
|
218 |
/* One or more character type fudges the pointer and restarts, knowing |
/* One or more character type fudges the pointer and restarts, knowing |
264 |
|
|
265 |
case OP_NOT_WORDCHAR: |
case OP_NOT_WORDCHAR: |
266 |
for (c = 0; c < 32; c++) |
for (c = 0; c < 32; c++) |
267 |
start_bits[c] |= ~(cd->cbits[c] | cd->cbits[c+cbit_word]); |
start_bits[c] |= ~cd->cbits[c+cbit_word]; |
268 |
break; |
break; |
269 |
|
|
270 |
case OP_WORDCHAR: |
case OP_WORDCHAR: |
271 |
for (c = 0; c < 32; c++) |
for (c = 0; c < 32; c++) |
272 |
start_bits[c] |= (cd->cbits[c] | cd->cbits[c+cbit_word]); |
start_bits[c] |= cd->cbits[c+cbit_word]; |
273 |
break; |
break; |
274 |
} |
} |
275 |
|
|