From: Jeremy Harris Date: Wed, 18 Oct 2017 21:34:12 +0000 (+0100) Subject: Docs: note that } chars in a RE are also needing escaping for ${sg } X-Git-Tag: exim-4_90_RC1~28 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/01cb5bdb47499f0d89e55e8ea973f75e143e3b4b Docs: note that } chars in a RE are also needing escaping for ${sg } --- 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}}