summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlinus <linus>2010-03-16 11:58:11 +0000
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2010-03-16 11:58:11 +0000
commitf83d2da1f9879494406fb65651ca7dbf88a89193 (patch)
treed13a352b7a8912337edc9926f0dab881e9fcd5bc
parent18d161d633c8a3f1772eb6f39cdcf9353ddee540 (diff)
Fix regex example using back references. Spotted by Kolbjørn Barmen.
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@520 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.conf.5.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.conf.5.xml b/radsecproxy.conf.5.xml
index a7f50c5..aa90dd2 100644
--- a/radsecproxy.conf.5.xml
+++ b/radsecproxy.conf.5.xml
@@ -427,7 +427,7 @@ original value if a matching response is later sent back to the client. The
value must be of the form User-Name:/regexpmatch/replacement/. Example usage:
<blockquote>
<para>
-rewriteAttribute User-Name:/^(.*)@local$/$1@example.com/
+rewriteAttribute User-Name:/^(.*)@local$/\1@example.com/
</para>
</blockquote>
</para>
@@ -711,7 +711,7 @@ a numerical attribute type, regexpmatch is regexp matching rule and
replacement specifies how to replace the matching regexp. Example usage:
<blockquote>
<para>
-modifyAttribute 1:/^(.*)@local$/$1@example.com/
+modifyAttribute 1:/^(.*)@local$/\1@example.com/
</para>
</blockquote>
</para>