]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove docs for v4 feature
authorAlan T. DeKok <aland@freeradius.org>
Thu, 17 Jun 2021 11:06:25 +0000 (07:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 18 Jun 2021 12:47:33 +0000 (08:47 -0400)
doc/antora/modules/unlang/pages/xlat/builtin.adoc

index 7b079f82e925377701002ed88493ca57c0ff6a96..d1d5c3eb6529b9a73756d4da702aa9e471f429af 100644 (file)
@@ -901,29 +901,5 @@ if (&control.Tmp-String-0 =~ /^(?<login>(.*))@(?<domain>(.*))$/) {
 The user@example.com { login=user, domain=example.com }
 ```
 
-### %{sub:/<regex>/[flags] <replace> <subject>}
-
-Substitute text just as easily as it can match it, even using regex patterns.
-
-.Return: _string_.
-
-.Example
-
-[source,unlang]
-----
-update control {
-    &Tmp-String-0 := "Caipirinha is a light and refreshing drink!"
-}
-update reply {
-    &Reply-Message := "%{sub:/ / , %{control.Tmp-String-0}}"
-}
-----
-
-.Output
-
-```
-Caipirinha,is,a,light,and,refreshing,drink!
-```
-
 // Copyright (C) 2020 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // Development of this documentation was sponsored by Network RADIUS SAS.