-
Notifications
You must be signed in to change notification settings - Fork 11
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
Typo: "first" should be "last" in syntax.md page #15
Comments
Oops. Duh. The original wording is correct. I'm reading my binary backwards. Sorry for the noise. Closing. |
Hey, no problem. Thanks for trying to improve byteseek! |
@nishihatapalmer Thanks. Without opening another new issue, is the line
Am I missing something here again? |
That's correct. An any match ~87 on its own would match all the bytes with any of those bits set, but the expression is negated with ^, so it will match all bytes without any of those bits set, which is the list you give. |
A simple way to understand the negation operator ^ is that it gives you a set of bytes containing all the bytes which weren't in the original set. |
Oh, yes, I understand the semantics of |
I can see how it could be confusing... I'll either have to come up with some better examples, or a better explanation... |
On the https://github.com/nishihatapalmer/byteseek/blob/master/syntax.md page where it is written:
I think "first" should be "last", i.e.:
The text was updated successfully, but these errors were encountered: