| 286 |
cc++; |
cc++; |
| 287 |
break; |
break; |
| 288 |
|
|
| 289 |
/* The single-byte matcher means we can't proceed in UTF-8 mode. (In |
/* The single-byte matcher means we can't proceed in UTF-8 mode. (In |
| 290 |
non-UTF-8 mode \C will actually be turned into OP_ALLANY, so won't ever |
non-UTF-8 mode \C will actually be turned into OP_ALLANY, so won't ever |
| 291 |
appear, but leave the code, just in case.) */ |
appear, but leave the code, just in case.) */ |
| 292 |
|
|
| 293 |
case OP_ANYBYTE: |
case OP_ANYBYTE: |
| 1322 |
study->size = sizeof(pcre_study_data); |
study->size = sizeof(pcre_study_data); |
| 1323 |
study->flags = 0; |
study->flags = 0; |
| 1324 |
|
|
|
/* Set the start bits always, to avoid unset memory errors if the |
|
|
study data is written to a file, but set the flag only if any of the bits |
|
|
are set, to save time looking when none are. */ |
|
|
|
|
| 1325 |
if (bits_set) |
if (bits_set) |
| 1326 |
{ |
{ |
| 1327 |
study->flags |= PCRE_STUDY_MAPPED; |
study->flags |= PCRE_STUDY_MAPPED; |
| 1328 |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |
| 1329 |
} |
} |
|
else memset(study->start_bits, 0, 32 * sizeof(uschar)); |
|
| 1330 |
|
|
| 1331 |
/* Always set the minlength value in the block, because the JIT compiler |
/* Always set the minlength value in the block, because the JIT compiler |
| 1332 |
makes use of it. However, don't set the bit unless the length is greater than |
makes use of it. However, don't set the bit unless the length is greater than |