Update expression_language.md (#1231)
add clarification for regex operator
This commit is contained in:
parent
50ec181fc7
commit
86dc4a4636
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ Supported currently are the following features:
|
||||||
- comparisons (`==`, `!=`, `>`, `<`, `<=`, `>=`)
|
- comparisons (`==`, `!=`, `>`, `<`, `<=`, `>=`)
|
||||||
- boolean operations (`||`, `&&`, `!`)
|
- boolean operations (`||`, `&&`, `!`)
|
||||||
- regex match operator (`=~`)
|
- regex match operator (`=~`)
|
||||||
|
- Rust regex style, left hand is regex, right hand is string
|
||||||
|
- ex: workspace.name =~ '^special:.+$'
|
||||||
- elvis operator (`?:`)
|
- elvis operator (`?:`)
|
||||||
- if the left side is `""` or a JSON `null`, then returns the right side,
|
- if the left side is `""` or a JSON `null`, then returns the right side,
|
||||||
otherwise evaluates to the left side.
|
otherwise evaluates to the left side.
|
||||||
|
|
Loading…
Add table
Reference in a new issue