Skip to content

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

Description

@bskinn

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions