DSL: match(): support patterns array so Director renderer can make use of it #9583
Labels
area/configuration
DSL, parser, compiler, error handling
enhancement
New feature or request
needs feedback
We'll only proceed once we hear from you again
TBD
To be defined - We aren't certain about this yet
Is your feature request related to a problem? Please describe.
Big OR trees of match() on the same subject are expensive, but Tom considers one big rendered regex less readable.
Describe the solution you'd like
match(["a*", "b*", "c*"], x)
Describe alternatives you've considered
match("a*",x)||match("b*",x)||match("c*",x)||...
icingaweb2-module-director#2661Additional context
https://github.com/orgs/Icinga/projects/29
The text was updated successfully, but these errors were encountered: