Skip to content

Commit

Permalink
Update expression_language.md (#1231)
Browse files Browse the repository at this point in the history
add clarification for regex operator
  • Loading branch information
shobu13 authored Nov 20, 2024
1 parent 50ec181 commit 86dc4a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/expression_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Supported currently are the following features:
- comparisons (`==`, `!=`, `>`, `<`, `<=`, `>=`)
- boolean operations (`||`, `&&`, `!`)
- regex match operator (`=~`)
- Rust regex style, left hand is regex, right hand is string
- ex: workspace.name =~ '^special:.+$'
- elvis operator (`?:`)
- if the left side is `""` or a JSON `null`, then returns the right side,
otherwise evaluates to the left side.
Expand Down

0 comments on commit 86dc4a4

Please sign in to comment.