forked from extern/nushell
Rename =^ to 'starts-with' (#5407)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user