diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-30 15:30:19 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-30 15:30:19 -0800 |
| commit | a07da1989d7ec515d4bb08051ea6940960577446 (patch) | |
| tree | 6f506818554fc205ddcc46a3c9bfe6054ae9cea7 /bp.1 | |
| parent | 7d4bc36949cec8e5c791c352a264cd1dea4f8a1e (diff) | |
Simplified syntax for replacement: just =>, no need for {}
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ E.g. \fB`"..`" % (`\\.) .B @\fI<name>\fB=\fI<pat>\fR \fBLet-\fI<name>\fB-equal-\fI<pat>\fR (named capture) -.B {\fI<pat>\fB => "\fI<replacement>\fB"} +.B \fI<pat>\fB => "\fI<replacement>\fB" \fBReplace-\fI<pat>\fB-with-\fI<replacement>\fR. Note: \fI<replacement>\fR should be a string, and it may contain references to captured values: \fB@0\fR (the whole of \fI<pat>\fR), \fB@1\fR (the first capture in \fI<pat>\fR), |
