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

Add quick namespace for a quick parse #20

Merged
merged 7 commits into from
Apr 8, 2023
Merged

Add quick namespace for a quick parse #20

merged 7 commits into from
Apr 8, 2023

Conversation

aroemers
Copy link
Owner

@aroemers aroemers commented Apr 7, 2023

This adds the quick namespace, with a parse function. It takes a parser definition (string- or data-based) and a text. A success result is post-processed in such a way that all nodes contain their matched text (instead of indices).

This idea is for those quick "I could really use something better than a regex"-moments.

@aroemers aroemers merged commit 7f65ddf into v2 Apr 8, 2023
@aroemers aroemers deleted the quick-parse branch April 8, 2023 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant