You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how to implement the 'like' bool expression using expr #673
hello maintainers. I am trying to parse bool expression like this using expr a>10 && b like '%abc' && c not in ['a', 'b'].
But expr does not support like natively. So is there any ways to make expr support 'like' bool expression.
Thanks, in advance!
The matches operator is likely to meet your requirements. It verifies whether the left-hand operand conforms to the regular expression specified by the right-hand operand. For instance:
hello maintainers. I am trying to parse bool expression like this using expr
a>10 && b like '%abc' && c not in ['a', 'b'].But expr does not support
likenatively. So is there any ways to make expr support 'like' bool expression.Thanks, in advance!