git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29da37
)
Docs: note that } chars in a RE are also needing escaping for ${sg }
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 18 Oct 2017 21:34:12 +0000
(22:34 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 18 Oct 2017 21:34:12 +0000
(22:34 +0100)
doc/doc-docbook/spec.xfpt
patch
|
blob
|
history
diff --git
a/doc/doc-docbook/spec.xfpt
b/doc/doc-docbook/spec.xfpt
index c14094515c78acc20952e7ea736ffd3a969e6db9..29d0d900edcdf99fde6126e7e7fb64018da0c8c0 100644
(file)
--- 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}}