Rename =^ to 'starts-with' (#5407)

This commit is contained in:
JT
2022-05-02 19:20:07 +12:00
committed by GitHub
parent 1f7d3498cd
commit 4a69819f9a
3 changed files with 3 additions and 3 deletions

View File

@ -4040,7 +4040,6 @@ pub fn parse_operator(
b">" => Operator::GreaterThan,
b">=" => Operator::GreaterThanOrEqual,
b"=~" => Operator::RegexMatch,
b"=^" => Operator::StartsWith,
b"!~" => Operator::NotRegexMatch,
b"+" => Operator::Plus,
b"-" => Operator::Minus,
@ -4049,6 +4048,7 @@ pub fn parse_operator(
b"in" => Operator::In,
b"not-in" => Operator::NotIn,
b"mod" => Operator::Modulo,
b"starts-with" => Operator::StartsWith,
b"&&" | b"and" => Operator::And,
b"||" | b"or" => Operator::Or,
b"**" => Operator::Pow,