Skip to content

Commit

Permalink
Fix regex example using back references. Spotted by Kolbjørn Barmen.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@520 e88ac4ed-0b26-0410-9574-a7f39faa03bf
  • Loading branch information
linus authored and linus committed Mar 16, 2010
1 parent 18d161d commit f83d2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.conf.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit f83d2da

Please sign in to comment.