A Regular Expression Library for Python
Project description
RXPY is a regular expression library, written purely in Python, that is almost completely backwards compatible with the standard Python re library (only locale-based character groups are not supported).
It has a modular design that allows different alphabets and engines to be used. This allows regular expressions to be defined over sequences of arbitrary objects (a mapping between objects and the characters used in the regular expression must exist; this is defined by the alphabet).
The initial engine is a simple recursive descent implementation, but future releases will support a DFA-based solution similar to re2.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.