aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-17 13:54:26 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-17 13:54:26 -0700
commit0f059615786dcdeb436f7d570a6bb3fa2e621eb6 (patch)
tree25d183867e3352bd4cbd6e34da34b096ddb524fa /README.md
parent26b683ca743755d1959269cdc15dbd38c4a89aa0 (diff)
Simplified backrefs by only doing direct substring matching instead of
accounting for replacement strings.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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 before the current position (backref)
+`<pat` | `pat` matches just before the current position (lookbehind)
`>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)