The matches operation currently only supports string types and uses regexp.MatchString under the hood. Is it possible to support regexp.Match when the left variable is a byte slice?
Currently, the string matches operation can support:
"123" matches "123"
a matches b
a matches "123"
"123" matches b
After adding support for byte slices, it should support the following scenarios (expr does not have a byte slice type):
The matches operation currently only supports string types and uses
regexp.MatchString
under the hood. Is it possible to supportregexp.Match
when the left variable is a byte slice?Currently, the string matches operation can support:
After adding support for byte slices, it should support the following scenarios (expr does not have a byte slice type):