From 0f059615786dcdeb436f7d570a6bb3fa2e621eb6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Jul 2021 13:54:26 -0700 Subject: Simplified backrefs by only doing direct substring matching instead of accounting for replacement strings. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 94f432f..9959a8a 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Pattern | Meaning `5+ pat % sep` | 5 or more occurrences of `pat`, separated by `sep` (e.g. `0+ int % ","` matches `1,2,3`) `*pat` | 0 or more occurrences of `pat` (shorthand for `0+pat`) `+pat` | 1 or more occurrences of `pat` (shorthand for `1+pat`) -`pat` | `pat` matches just in front of the current position (lookahead) `@pat` | Capture `pat` (used for text replacement and backreferences) `@foo=pat` | Let `foo` be the text of `pat` (used for text replacement and backreferences) -- cgit v1.2.3