128 |
1, /* noti */ |
1, /* noti */ |
129 |
/* Positive single-char repeats */ |
/* Positive single-char repeats */ |
130 |
1, 1, 1, 1, 1, 1, /* *, *?, +, +?, ?, ?? */ |
1, 1, 1, 1, 1, 1, /* *, *?, +, +?, ?, ?? */ |
131 |
3, 3, 3, /* upto, minupto, exact */ |
1+IMM2_SIZE, 1+IMM2_SIZE, /* upto, minupto */ |
132 |
1, 1, 1, 3, /* *+, ++, ?+, upto+ */ |
1+IMM2_SIZE, /* exact */ |
133 |
|
1, 1, 1, 1+IMM2_SIZE, /* *+, ++, ?+, upto+ */ |
134 |
1, 1, 1, 1, 1, 1, /* *I, *?I, +I, +?I, ?I, ??I */ |
1, 1, 1, 1, 1, 1, /* *I, *?I, +I, +?I, ?I, ??I */ |
135 |
3, 3, 3, /* upto I, minupto I, exact I */ |
1+IMM2_SIZE, 1+IMM2_SIZE, /* upto I, minupto I */ |
136 |
1, 1, 1, 3, /* *+I, ++I, ?+I, upto+I */ |
1+IMM2_SIZE, /* exact I */ |
137 |
|
1, 1, 1, 1+IMM2_SIZE, /* *+I, ++I, ?+I, upto+I */ |
138 |
/* Negative single-char repeats - only for chars < 256 */ |
/* Negative single-char repeats - only for chars < 256 */ |
139 |
1, 1, 1, 1, 1, 1, /* NOT *, *?, +, +?, ?, ?? */ |
1, 1, 1, 1, 1, 1, /* NOT *, *?, +, +?, ?, ?? */ |
140 |
3, 3, 3, /* NOT upto, minupto, exact */ |
1+IMM2_SIZE, 1+IMM2_SIZE, /* NOT upto, minupto */ |
141 |
1, 1, 1, 3, /* NOT *+, ++, ?+, upto+ */ |
1+IMM2_SIZE, /* NOT exact */ |
142 |
|
1, 1, 1, 1+IMM2_SIZE, /* NOT *+, ++, ?+, upto+ */ |
143 |
1, 1, 1, 1, 1, 1, /* NOT *I, *?I, +I, +?I, ?I, ??I */ |
1, 1, 1, 1, 1, 1, /* NOT *I, *?I, +I, +?I, ?I, ??I */ |
144 |
3, 3, 3, /* NOT upto I, minupto I, exact I */ |
1+IMM2_SIZE, 1+IMM2_SIZE, /* NOT upto I, minupto I */ |
145 |
1, 1, 1, 3, /* NOT *+I, ++I, ?+I, upto+I */ |
1+IMM2_SIZE, /* NOT exact I */ |
146 |
|
1, 1, 1, 1+IMM2_SIZE, /* NOT *+I, ++I, ?+I, upto+I */ |
147 |
/* Positive type repeats */ |
/* Positive type repeats */ |
148 |
1, 1, 1, 1, 1, 1, /* Type *, *?, +, +?, ?, ?? */ |
1, 1, 1, 1, 1, 1, /* Type *, *?, +, +?, ?, ?? */ |
149 |
3, 3, 3, /* Type upto, minupto, exact */ |
1+IMM2_SIZE, 1+IMM2_SIZE, /* Type upto, minupto */ |
150 |
1, 1, 1, 3, /* Type *+, ++, ?+, upto+ */ |
1+IMM2_SIZE, /* Type exact */ |
151 |
|
1, 1, 1, 1+IMM2_SIZE, /* Type *+, ++, ?+, upto+ */ |
152 |
/* Character class & ref repeats */ |
/* Character class & ref repeats */ |
153 |
0, 0, 0, 0, 0, 0, /* *, *?, +, +?, ?, ?? */ |
0, 0, 0, 0, 0, 0, /* *, *?, +, +?, ?, ?? */ |
154 |
0, 0, /* CRRANGE, CRMINRANGE */ |
0, 0, /* CRRANGE, CRMINRANGE */ |
301 |
*/ |
*/ |
302 |
|
|
303 |
static void |
static void |
304 |
pchars(unsigned char *p, int length, FILE *f) |
pchars(const pcre_uchar *p, int length, FILE *f) |
305 |
{ |
{ |
306 |
int c; |
int c; |
307 |
while (length-- > 0) |
while (length-- > 0) |
587 |
|
|
588 |
#ifdef PCRE_DEBUG |
#ifdef PCRE_DEBUG |
589 |
printf("%.*sNext character: rest of subject = \"", rlevel*2-2, SP); |
printf("%.*sNext character: rest of subject = \"", rlevel*2-2, SP); |
590 |
pchars((pcre_uchar *)ptr, strlen((char *)ptr), stdout); |
pchars(ptr, STRLEN_UC(ptr), stdout); |
591 |
printf("\"\n"); |
printf("\"\n"); |
592 |
|
|
593 |
printf("%.*sActive states: ", rlevel*2-2, SP); |
printf("%.*sActive states: ", rlevel*2-2, SP); |