| 1408 |
suffix[process_options]); |
suffix[process_options]); |
| 1409 |
pattern_list[pattern_count] = |
pattern_list[pattern_count] = |
| 1410 |
pcre_compile(buffer, options, &error, &errptr, pcretables); |
pcre_compile(buffer, options, &error, &errptr, pcretables); |
| 1411 |
if (pattern_list[pattern_count] != NULL) |
if (pattern_list[pattern_count] != NULL) |
| 1412 |
{ |
{ |
| 1413 |
pattern_count++; |
pattern_count++; |
| 1414 |
return TRUE; |
return TRUE; |
| 1415 |
} |
} |
| 1416 |
|
|
| 1417 |
/* Handle compile errors */ |
/* Handle compile errors */ |
| 1418 |
|
|
| 1947 |
fprintf(stderr, "pcregrep: Error while studying regex%s: %s\n", s, error); |
fprintf(stderr, "pcregrep: Error while studying regex%s: %s\n", s, error); |
| 1948 |
goto EXIT2; |
goto EXIT2; |
| 1949 |
} |
} |
| 1950 |
hint_count++; |
hint_count++; |
| 1951 |
} |
} |
| 1952 |
|
|
| 1953 |
/* If there are include or exclude patterns, compile them. */ |
/* If there are include or exclude patterns, compile them. */ |