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 helper function at package level for quick body-only parsing #87

Open
bskinn opened this issue Oct 15, 2019 · 0 comments
Open

Add helper function at package level for quick body-only parsing #87

bskinn opened this issue Oct 15, 2019 · 0 comments
Milestone

Comments

@bskinn
Copy link
Owner

bskinn commented Oct 15, 2019

Debugging patterns would be facilitated by a quick helper function as in:

>>> from pent import parse_pattern
>>> parse_pattern(pattern="&+", text="foo bar baz")
[[['foo', 'bar', 'baz']]]

Other permutations of this may be helpful, too. Be careful of YAGNI.

@bskinn bskinn added this to the v1.0 milestone Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant