From 86dc4a4636dad3999db29975d8a720831a076695 Mon Sep 17 00:00:00 2001 From: shobu13 Date: Wed, 20 Nov 2024 09:42:05 +0100 Subject: [PATCH] Update expression_language.md (#1231) add clarification for regex operator --- docs/src/expression_language.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/expression_language.md b/docs/src/expression_language.md index 0fb51e6a..becb044c 100644 --- a/docs/src/expression_language.md +++ b/docs/src/expression_language.md @@ -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.