diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-12 01:32:59 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-12 01:32:59 -0700 |
| commit | e9673459376b92e5c8be60783b608723af9b23d9 (patch) | |
| tree | 76c7d9f4456507453af2e6742561762132defcfc /grammar.c | |
| parent | 5c047efcb7f92de36df102dd164345d988f64567 (diff) | |
Tweaks to CLI, bugfix for escape replacements
Diffstat (limited to 'grammar.c')
| -rw-r--r-- | grammar.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -13,6 +13,7 @@ const char *BPEG_BUILTIN_GRAMMAR = ( "replace-all = *&&@replacement &&$$;\n" "find-all = *(matching-line / {&&(\\n/$$)=>});\n" "matching-line = +&@pattern *. $ ?\\n;\n" + "only-matches = *{&&@pattern=>'@1\\n'};\n" // Helper definitions (commonly used) "crlf=\\r\\n;\n" |
