Skip to content

Conversation

@thevilledev
Copy link
Contributor

The matches operator now supports matching against byte slices in addition to strings. This allows expressions like b matches "pattern" where b is a byte slice.

Fixes #685.

The matches operator now supports matching against byte slices
in addition to strings. This allows expressions like
`b matches "pattern"` where `b` is a byte slice.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
@antonmedv antonmedv merged commit 775fc3a into expr-lang:master Dec 10, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support matches for bytes

2 participants