diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-02-07 10:54:02 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-02-07 10:54:02 -0800 |
| commit | 16bb52a3b80aeebdfd497d15ff608bdc9eee0b36 (patch) | |
| tree | 86813f0dbf0bae5dfd095c170c18b6e341b858d8 | |
| parent | 12333b2eb87a833f5e51981f208cc0678d6483d9 (diff) | |
Fix to allow `bp 'foo\..baz'`
| -rw-r--r-- | pattern.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -147,6 +147,8 @@ pat_t *chain_together(file_t *f, pat_t *first, pat_t *second) break; } else if (p->type == BP_CAPTURE) { p = p->args.capture.capture_pat; + } else if (p->type == BP_CHAIN) { + p = p->args.multiple.second; } else if (p->type == BP_EQUAL || p->type == BP_NOT_EQUAL) { p = p->args.pat; } else break; |
