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

Streaming regexes #1155

Open
Ekleog opened this issue May 17, 2020 · 0 comments
Open

Streaming regexes #1155

Ekleog opened this issue May 17, 2020 · 0 comments

Comments

@Ekleog
Copy link

Ekleog commented May 17, 2020

As discussed on IRC :)

https://github.com/Ekleog/yuubind/blob/4f9a89808078f5d6a39adef86cf9066a8797d58d/smtp-message/src/lib.rs#L84-L129 is an example implementation of a combinator that applies a regex and returns Incomplete if the regex doesn't match yet but could match if more data were available.

Shall I try to make a PR out of it? :)

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

No branches or pull requests

1 participant