Fix regex example using back references. Spotted by Kolbjørn Barmen.
authorlinus <linus>
Tue, 16 Mar 2010 11:58:11 +0000 (11:58 +0000)
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Tue, 16 Mar 2010 11:58:11 +0000 (11:58 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@520 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.conf.5.xml

index a7f50c5..aa90dd2 100644 (file)
@@ -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>