Skip to content

feat: add MatchBytes method to Glob interface and Pattern - #81

Open
AdamMagued wants to merge 1 commit into
gobwas:masterfrom
AdamMagued:fix-issue-32
Open

AdamMagued wants to merge 1 commit into
gobwas:masterfrom
AdamMagued:fix-issue-32

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #32

Summary

  • Added MatchBytes([]byte) bool to Glob interface and Pattern struct for direct byte slice matching.
  • Added unit tests and benchmarks comparing Match and MatchBytes.

Verified via container sandbox test suite.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>
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.

Add MatchBytes()

1 participant