Change string contains operators to regex (#5117)

This commit is contained in:
Reilly Wood
2022-04-06 23:23:14 -07:00
committed by GitHub
parent 888369022f
commit b2c52b51b7
11 changed files with 130 additions and 43 deletions

View File

@ -3967,9 +3967,9 @@ pub fn parse_operator(
b"<=" => Operator::LessThanOrEqual,
b">" => Operator::GreaterThan,
b">=" => Operator::GreaterThanOrEqual,
b"=~" => Operator::Contains,
b"=~" => Operator::RegexMatch,
b"=^" => Operator::StartsWith,
b"!~" => Operator::NotContains,
b"!~" => Operator::NotRegexMatch,
b"+" => Operator::Plus,
b"-" => Operator::Minus,
b"*" => Operator::Multiply,