diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:23 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:23 -0700 |
| commit | 744a92756200052837e25f4f7758175241528536 (patch) | |
| tree | 658a04ebc9aa902099febd36a9060d95094fcda3 /pattern.c | |
| parent | 55ff8ec6637d90d50ed83c43f83e25fe4571f6bb (diff) | |
Deprecated (!)-errors
Diffstat (limited to 'pattern.c')
| -rw-r--r-- | pattern.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -379,16 +379,6 @@ static pat_t *_bp_simplepattern(file_t *f, const char *str) } // Parentheses case '(': { - if (start + 2 < f->end && strncmp(start, "(!)", 3) == 0) { // (!) errors - str = start + 3; - pat_t *pat = bp_simplepattern(f, str); - if (!pat) pat = new_pat(f, str, str, 0, 0, BP_STRING); - pat = expand_replacements(f, pat, false); - pat_t *error = new_pat(f, start, pat->end, pat->min_matchlen, pat->max_matchlen, BP_ERROR); - error->args.pat = pat; - return error; - } - pat_t *pat = bp_pattern_nl(f, str, true); if (!pat) file_err(f, str, str, "There should be a valid pattern after this parenthesis."); |
