288 |
cc++; |
cc++; |
289 |
break; |
break; |
290 |
|
|
291 |
/* 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 |
292 |
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 |
293 |
appear, but leave the code, just in case.) */ |
appear, but leave the code, just in case.) */ |
294 |
|
|
295 |
case OP_ANYBYTE: |
case OP_ANYBYTE: |
1424 |
study->size = sizeof(pcre_study_data); |
study->size = sizeof(pcre_study_data); |
1425 |
study->flags = 0; |
study->flags = 0; |
1426 |
|
|
1427 |
|
/* Set the start bits always, to avoid unset memory errors if the |
1428 |
|
study data is written to a file, but set the flag only if any of the bits |
1429 |
|
are set, to save time looking when none are. */ |
1430 |
|
|
1431 |
if (bits_set) |
if (bits_set) |
1432 |
{ |
{ |
1433 |
study->flags |= PCRE_STUDY_MAPPED; |
study->flags |= PCRE_STUDY_MAPPED; |
1434 |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |
1435 |
} |
} |
1436 |
|
else memset(study->start_bits, 0, 32 * sizeof(pcre_uchar)); |
1437 |
|
|
1438 |
#ifdef PCRE_DEBUG |
#ifdef PCRE_DEBUG |
1439 |
if (bits_set) |
if (bits_set) |