diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-24 22:07:42 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-24 22:07:42 -0700 |
| commit | 7df38ca7585e50531b180c200ab57b680d14982c (patch) | |
| tree | 117d7c8d44ce72acdf62d4321d2be239bcbf0dcc /grammars | |
| parent | e1e927687089cf6af26f32fd0a1177c82e45ae5c (diff) | |
Fix for replace-all not working with 0 replacements
Diffstat (limited to 'grammars')
| -rw-r--r-- | grammars/builtins.bpeg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/builtins.bpeg b/grammars/builtins.bpeg index 7a7aa06..f85a94b 100644 --- a/grammars/builtins.bpeg +++ b/grammars/builtins.bpeg @@ -16,7 +16,7 @@ replace-all: ( (include-binary-files / is-text-file) define-highlights add-filename - 1+(...@hl-replacement) ... + 0+(...@hl-replacement) ... ) find-all: ( (include-binary-files / is-text-file) |
