Skip to content

Support bytes.matches(string) and matches(bytes, string) #493

@rodaine

Description

@rodaine

CEL supports string.matches(string) to apply an RE2 regular expression to strings, but RE2 patterns can safely be applied to a non-UTF8 bytes string (the pattern itself must be UTF-8, however). Can we update the spec for matches to include this overload?

Context from protovalidate: bufbuild/protovalidate#268

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions