For questions about the 3rd-party regex module, which is a replacement for the standard RE module. DO NOT use this tag if you're not using or asking about this very module. For general Python regex questions please tag [python] [regex]. If you're using the built-in RE module use the dedicated [python-re] tag.
Created by Matthew Barnett, regex
is a popular 3rd-party module for matching regular expressions in Python. It is backwards-compatible with the standard re
module, but offers additional functionality.
The module can be installed with pip install regex
, or found in standard repositories in many Linux distros, under the name python-regex
(for Python 2) or python3-regex
(for Python 3).
Project home page on PyPI: https://pypi.org/project/regex/