**** xref:xlat/misc/config.adoc[Server Configuration]
**** xref:xlat/misc/length.adoc[length]
**** xref:xlat/misc/misc.adoc[Miscellaneous]
-**** xref:xlat/misc/pairs.print.adoc[pairs.print]
+**** xref:xlat/misc/pairs.adoc[pairs.print]
**** xref:xlat/misc/rand.adoc[rand]
*** xref:xlat/character.adoc[Single Letter Expansions]
`"19216801"`.
If you need to add text in between each list entry, see the
-`%str.concat()` function in the xref:xlat/builtin/index.adoc[built-in
+`%str.concat()` function in the xref:xlat/all.adoc[built-in
expansions] list.
.Example Creating multiple Attributes
When the `=~` or `!~` operators are used, then parentheses in the regular
expression will sub capture groups, which contain part of the subject string.
-The xref:xlat/builtin/miscellaneous/misc.adoc#_regex_match[%regex.match()] function expands to the portion of the subject tha
+The xref:xlat/misc/misc.adoc#_regex_match[%regex.match()] function expands to the portion of the subject tha
matched. The expansions +
`%regex.match(1)`..`%regex.match(32)` expand to the contents of any subcapture groups.
built-in expansion +
`%regex.match(<named capture group>)`.
-Please see the xref:xlat/builtin/index.adoc#_0_32[xlat documentation] for
+Please see the xref:xlat/all.adoc#_0_32[xlat documentation] for
more information on regular expression matching.
.Extracting the 'user' portion of a realm qualified string
.Miscellaneous Functions
[options="headers, autowidth]
|===
-| *Function* | *Description*
+| *Function* | *Description*
| xref:xlat/misc/config.adoc[Server Configuration] | Examine configuration items
| xref:xlat/misc/length.adoc[length] | Get the length of data
| xref:xlat/misc/misc.adoc[Miscellaneous] | Functions to execute regular expression search on string, using pattern.
| xref:xlat/misc/pairs.adoc[pairs.print] | print attributes with name and value.
-| xref:xlat/misc/rand.adoc[rand] | random integers|
-===
+| xref:xlat/misc/rand.adoc[rand] | random integers
+|===
.File Handling Functions
.String manipulation
[options="header, autowidth"]
-|=====
+|===
| *Function* | *Description*
| xref:xlat/str/concat.adoc[concat] | Concatenate strings with delimiters
| xref:xlat/str/split.adoc[split] | Split a string based on delimiters
| xref:xlat/str/rand.adoc[rand] | Return a random string based on input format
| xref:xlat/str/lower.adoc[lower] | Convert the input string to lowercase.
| xref:xlat/str/upper.adoc[upper] | Convert the input string to uppercase
-|=====
+|===
The following are single letter expansions.
-The xref:xlat/builtin/miscellaneous/misc.adoc[builtin] `%time(...)` expansion and the
+The `%time(...)` function and the
xref:reference:raddb/mods-available/date.adoc[date] module should be used
instead of these expansions.
since the Unix epoch.
This expansion is only useful where the time resolution is in seconds.
-If more resolution is needed, the xref:xlat/builtin/index.adoc[builtin]
+If more resolution is needed, the xref:xlat/all.adoc[builtin]
`%time(...)` expansion should be used instead.
`%Y()`::
.Description
Functions allow for complex expansions at run time. There are many
-xref:xlat/builtin/index.adoc[built-in expansions]. Many modules also define
+xref:xlat/all.adoc[built-in expansions]. Many modules also define
their own expansions. The module-specific expansions are documented in each module.
function:: The name of the function. e.g. `md5` or `sql`, etc.
| xref:xlat/character.adoc[single character] | Single character expansions.
| xref:xlat/function.adoc[functions] | Function call syntax.
| xref:xlat/alternation.adoc[condition] | Conditionally expand a string.
-| xref:xlat/builtin/index.adoc[built-in expansions] | Functions as string length, tolower, etc...
+| xref:xlat/all.adoc[built-in expansions] | Functions as string length, tolower, etc...
|=====
Expansions are used inside of
Results of named capture groups are available using the `%regex.match(<named capture
group>}` expansion. They will also be accessible using the numbered expansions
-described xref:xlat/builtin/miscellaneous/misc.adoc#_0_32[above].
+described xref:xlat/misc/misc.adoc#_0_32[above].
Every time a regular expression is evaluated, whether it matches or not,
the named capture group values will be cleared.
Used to join two or more attributes, separated by an optional delimiter.
-This expansion is the inverse of xref:xlat/str/explode.adoc[explode].
+This expansion is the inverse of xref:xlat/str/split.adoc[split].
.Return: _string_