regex is an alternative to the re package in the Python standard library. It is intended to act as a drop in replacement, and one day to replace re. regex is supported on Python v2.5 to v2.7 and v3.1 to v3.4. For a full list of features see Python2/Features.rst or Python3/Features.rst. To build and install regex for your default Python run python setup.py install To install regex for a specific version run setup.py with that interpreter, e.g. python3.1 setup.py install