Skip to content

Commit

Permalink
Rename predefined to built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Aug 20, 2019
1 parent 58db966 commit 30103d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/antora/modules/unlang/nav.adoc
Expand Up @@ -50,7 +50,7 @@
** xref:xlat/index.adoc[String Expansion]
*** xref:xlat/alternation.adoc[Alternation Syntax]
*** xref:xlat/predefined.adoc[Pre-defined Expansions]
*** xref:xlat/builtin.adoc[Built-in Expansions]
*** xref:xlat/character.adoc[Single Letter Expansions]
*** xref:xlat/attribute.adoc[Attribute References]
*** xref:xlat/module.adoc[Module References]
2 changes: 1 addition & 1 deletion doc/antora/modules/unlang/pages/regex.adoc
Expand Up @@ -121,7 +121,7 @@ When using libpcre[2], named capture groups may also be accessed using the
built-in expansion +
`%{regex:<named capture group>}`.

Please see the xref:xlat/predefined.adoc#_0_32[xlat documentation] for
Please see the xref:xlat/builtin.adoc#_0_32[xlat documentation] for
more information on regular expression matching.

.Extracting the 'user' portion of a realm qualified string
Expand Down
@@ -1,7 +1,7 @@
= Pre-defined Expansions
= Built-In Expansions

In addition to storing attribute references, the server has a number
of pre-defined expansions. These expansions act largely as functions
of built-in expansions. These expansions act largely as functions
which operate on inputs, and produce an output.

== Attribute Manipulation
Expand Down Expand Up @@ -832,7 +832,7 @@ Return named subcapture value from the last regular expression evaluated.

Results of named capture groups are available using the `%{regex:<named capture
group>}` expansion. They will also be accessible using the numbered expansions
described xref:predefined.adoc#_0_32[above].
described xref:builtin.adoc#_0_32[above].

Every time a regular expression is evaluated, whether it matches or not,
the named capture group values will be cleared.
Expand Down
4 changes: 2 additions & 2 deletions doc/antora/modules/unlang/pages/xlat/index.adoc
Expand Up @@ -19,8 +19,8 @@ expansion can be many things:
| xref:xlat/attribute.adoc[attributes] | Expand the value of a named attribute.
| xref:xlat/character.adoc[single character] | Single character expansions.
| xref:xlat/module.adoc[modules] | Pass a string to a module such as `sql`.
| xref:xlat/alternation.adoc[condition] | Conditionally expand a string.
| xref:xlat/predefined.adoc[pre-defined expansions] | Such as string length, lowercase strings, etc.
| xref:xlat/alternation.adoc[condition] | Conditionally expand a string.
| xref:xlat/builtin.adoc[built-in expansions] | Such as string length, tolower, etc...
|=====

This feature is used to create policies which refer to concepts rather
Expand Down

0 comments on commit 30103d2

Please sign in to comment.