Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use startswith/contains predicate with bytearray #224

Closed
fabricereix opened this issue Jul 2, 2021 · 0 comments · Fixed by #235
Closed

Use startswith/contains predicate with bytearray #224

fabricereix opened this issue Jul 2, 2021 · 0 comments · Fixed by #235
Labels
enhancement New feature or request
Milestone

Comments

@fabricereix
Copy link
Collaborator

fabricereix commented Jul 2, 2021

Currently, startsWith predicate is only used with string

body startsWith "Hello"

Now that bytearray is supported for predicate value, startsWith could also take a bytearray

bytes startsWith hex,efbbbf;
bytes not contains hex,00;
@fabricereix fabricereix added enhancement New feature or request 1.3.0 labels Jul 2, 2021
@fabricereix fabricereix linked a pull request Jul 7, 2021 that will close this issue
@fabricereix fabricereix changed the title use startswith predicate with bytearray use startswith/contains predicate with bytearray Jul 7, 2021
@fabricereix fabricereix changed the title use startswith/contains predicate with bytearray Use startswith/contains predicate with bytearray Sep 1, 2021
@lepapareil lepapareil added this to the 1.3.0 milestone Oct 12, 2021
@lepapareil lepapareil removed the 1.3.0 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants