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 2.5, 2.6, 2.7, 3.1 and 3.2.

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

