| 1305 |
if ((options & PCRE_DOTALL) != 0) cflags |= REG_DOTALL; |
if ((options & PCRE_DOTALL) != 0) cflags |= REG_DOTALL; |
| 1306 |
if ((options & PCRE_NO_AUTO_CAPTURE) != 0) cflags |= REG_NOSUB; |
if ((options & PCRE_NO_AUTO_CAPTURE) != 0) cflags |= REG_NOSUB; |
| 1307 |
if ((options & PCRE_UTF8) != 0) cflags |= REG_UTF8; |
if ((options & PCRE_UTF8) != 0) cflags |= REG_UTF8; |
| 1308 |
if ((options & PCRE_UNGREEDY) != 0) cflags |= REG_UNGREEDY; |
if ((options & PCRE_UNGREEDY) != 0) cflags |= REG_UNGREEDY; |
| 1309 |
|
|
| 1310 |
rc = regcomp(&preg, (char *)p, cflags); |
rc = regcomp(&preg, (char *)p, cflags); |
| 1311 |
|
|
| 1630 |
{ |
{ |
| 1631 |
uschar *start_bits = NULL; |
uschar *start_bits = NULL; |
| 1632 |
int minlength; |
int minlength; |
| 1633 |
|
|
| 1634 |
new_info(re, extra, PCRE_INFO_MINLENGTH, &minlength); |
new_info(re, extra, PCRE_INFO_MINLENGTH, &minlength); |
| 1635 |
fprintf(outfile, "Subject length lower bound = %d\n", minlength); |
fprintf(outfile, "Subject length lower bound = %d\n", minlength); |
| 1636 |
|
|
| 1637 |
new_info(re, extra, PCRE_INFO_FIRSTTABLE, &start_bits); |
new_info(re, extra, PCRE_INFO_FIRSTTABLE, &start_bits); |
| 1638 |
if (start_bits == NULL) |
if (start_bits == NULL) |
| 1639 |
fprintf(outfile, "No set of starting bytes\n"); |
fprintf(outfile, "No set of starting bytes\n"); |
| 1977 |
case 'N': |
case 'N': |
| 1978 |
if ((options & PCRE_NOTEMPTY) != 0) |
if ((options & PCRE_NOTEMPTY) != 0) |
| 1979 |
options = (options & ~PCRE_NOTEMPTY) | PCRE_NOTEMPTY_ATSTART; |
options = (options & ~PCRE_NOTEMPTY) | PCRE_NOTEMPTY_ATSTART; |
| 1980 |
else |
else |
| 1981 |
options |= PCRE_NOTEMPTY; |
options |= PCRE_NOTEMPTY; |
| 1982 |
continue; |
continue; |
| 1983 |
|
|
| 2001 |
continue; |
continue; |
| 2002 |
|
|
| 2003 |
case 'P': |
case 'P': |
| 2004 |
options |= ((options & PCRE_PARTIAL_SOFT) == 0)? |
options |= ((options & PCRE_PARTIAL_SOFT) == 0)? |
| 2005 |
PCRE_PARTIAL_SOFT : PCRE_PARTIAL_HARD; |
PCRE_PARTIAL_SOFT : PCRE_PARTIAL_HARD; |
| 2006 |
continue; |
continue; |
| 2007 |
|
|
| 2377 |
{ |
{ |
| 2378 |
fprintf(outfile, ": "); |
fprintf(outfile, ": "); |
| 2379 |
pchars(bptr + use_offsets[0], use_offsets[1] - use_offsets[0], |
pchars(bptr + use_offsets[0], use_offsets[1] - use_offsets[0], |
| 2380 |
outfile); |
outfile); |
| 2381 |
} |
} |
| 2382 |
fprintf(outfile, "\n"); |
fprintf(outfile, "\n"); |
| 2383 |
break; /* Out of the /g loop */ |
break; /* Out of the /g loop */ |
| 2384 |
} |
} |