summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-10-18 22:34:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-10-18 22:34:12 +0100
commit01cb5bdb47499f0d89e55e8ea973f75e143e3b4b (patch)
tree337035ecbc730f848748e1162bb5035201aac9b0 /doc
parentc29da374ab4ea587c810bdc0395443d6b6164fea (diff)
Docs: note that } chars in a RE are also needing escaping for ${sg }
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index c14094515..29d0d900e 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -9967,7 +9967,7 @@ a regular expression, and a substitution string. For example:
${sg{abcdefabcdef}{abc}{xyz}}
.endd
yields &"xyzdefxyzdef"&. Because all three arguments are expanded before use,
-if any $ or \ characters are required in the regular expression or in the
+if any $, } or \ characters are required in the regular expression or in the
substitution string, they have to be escaped. For example:
.code
${sg{abcdef}{^(...)(...)\$}{\$2\$1}}