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
Allow pest to match against byte literals #244
Comments
The redesign should tackle the issue of capturing strings from the input with the generated |
Yes hello, thanks. For more info: my usecase is matching actual bytes (not literals) for capturing values in AML. |
@Restioson, do you need this feature soon? Going through the design work to add this feature will probably take some time. Probably some post 2.0 launch. The big issue here is that |
TBH we're probably going to do it with a handwritten parser @IsaacWoods wrote a while back (but nevertheless I really like this library and would like to keep helping). So, no timeframe really. |
bump, any progress on this? i might be needing this soon (am parsing IMAP with pest) so i'll probably implement a proof-of-concept in a bit |
Can you put it on the agenda? |
@12089897411 I posted it as one of ideas here: #885 (comment) feel free to upvote or comment on it. |
For example, if we would like to match against an occurrence of one or more actual bytes (like 7c or FFFF) we should be able to. This would take a bit of design work, however, since we make assumptions in many places in the code that we'll be dealing with UTF-8 strings.
Request from @Restioson
The text was updated successfully, but these errors were encountered: