mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Upgrade antonmedv/expr to expr-lang/expr (#6814)
* Upgrade antonmedv/expr to expr-lang/expr The project has moved. This also upgrades from 1.15.5 to 1.16.9. The expr project lacks a changelog but tests pass and the changes don't seem to change it much - but there were a lot of changes. Signed-off-by: Kevin Lyda <kevin@lyda.ie> * Upgrade build image In reviewing the build results I see the old build image was deprecated so upgrading to something newer. Signed-off-by: Kevin Lyda <kevin@lyda.ie> --------- Signed-off-by: Kevin Lyda <kevin@lyda.ie>
This commit is contained in:
@@ -120,8 +120,8 @@ Note that the regex pattern is enclosed in single quotes, and backslashes are es
|
||||
|
||||
.SH "EXPRESSIONS"
|
||||
.PP
|
||||
To evaluate expressions, \fIview\fP uses the antonmedv/expr package (https://github.com/antonmedv/expr
|
||||
\[la]https://github.com/antonmedv/expr\[ra]).
|
||||
To evaluate expressions, \fIview\fP uses the expr-lang/expr package (https://github.com/expr-lang/expr
|
||||
\[la]https://github.com/expr-lang/expr\[ra]).
|
||||
For example, an expression could look like:
|
||||
\fB\fC(type() == 'A' && name() == 'example.com') || client_ip() == '1.2.3.4'\fR.
|
||||
|
||||
@@ -129,8 +129,8 @@ For example, an expression could look like:
|
||||
All expressions should be written to evaluate to a boolean value.
|
||||
|
||||
.PP
|
||||
See https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md
|
||||
\[la]https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md\[ra] as a detailed reference for valid syntax.
|
||||
See https://github.com/expr-lang/expr/blob/master/docs/Language-Definition.md
|
||||
\[la]https://github.com/expr-lang/expr/blob/master/docs/Language-Definition.md\[ra] as a detailed reference for valid syntax.
|
||||
|
||||
.SS "AVAILABLE EXPRESSION FUNCTIONS"
|
||||
.PP
|
||||
|
||||
Reference in New Issue
Block a user