This Python regex module is backwards compatible with the standard re module, while adding extra features such as Unicode support (including full case-folding), additional flags, and options for fuzzy matching and POSIX leftmost longest behavior. It also documents behavior differences between version modes (VERSION0 and VERSION1) and supports multithreading by releasing the GIL during matching in certain cases.
Project status
- Actively maintained, with recent repository activity on 2026-06-28 and multiple successive updates through 2026-06, indicating ongoing stewardship rather than a dormant state.
- Apparent update cadence is fairly regular, with several version updates in late March and early April 2026, then continued through April, May, and June 2026 (last update 2026-06-28).
AI summary generated
Recent updates
2026.7.11
This release primarily changes the project's CI build/test matrix and Python package metadata. No functional library release notes were provided, so the impact must be inferred from the code diff.
Breaking2026.7.10
This release primarily updates packaging metadata and CI to include Python 3.15 in the build matrix. The only substantive code change in the diff is improved thread safety around the compiled-pattern cache by introducing locking in cache clear and cache population paths.
2026.6.28
Release 2026.6.28 bumps the package version metadata and updates build classifiers to include Python 3.15. The only functional code change is in regex compilation, where locale preferred-encoding handling is adjusted, presumably to address free-threaded Python behavior.
2026.5.9
Release 2026.5.9 bumps the package version and includes a small internal change in the C implementation of fuzzy regex matching. No release-notes content was provided by the publisher, so the only documented behavior context comes from the repository changelog.
2026.4.4
Release 2026.4.4 updates the package version metadata and includes a small C-level change in the regex module related to error exception initialization. No release notes were provided, so the behavioral impact (if any) must be inferred from the code diff.
2026.4.3
Release 2026.4.3 was published on 2026-04-03, but no release notes were provided by the publisher. As a result, no developer-impacting changes, fixes, or migration steps can be confirmed from the release documentation.
2026.3.32
This release bumps the package version to 2026.3.32. The only substantive code change is in the regex engine (src/_regex.c), where GIL acquisition and release logic around pattern access was modified, likely to address a crash.
2026.3.31
This release bumps the package version to 2026.3.31 and includes a small internal fix related to regex execution under the Py_GIL_DISABLED configuration. The provided release notes are empty, so the code change details must be inferred from the diff.
2026.3.30
This release appears to be a metadata version bump from 2026.3.29 to 2026.3.30. The provided release notes are missing, and the code diff shows only version string updates, with no functional logic changes.
2026.3.29
Release 2026.3.29 bumps the regex package version metadata and includes a small internal change in the C extension (src/_regex.c). The provided release notes are empty, and changelog.txt only says “Fixed bug” without describing what changed.
2026.3.27
Release 2026.3.27 includes a set of internal fixes, with the only documented theme being improved free-threading support. The code diff shows changes focused on thread-safety behavior when Py_GIL_DISABLED is enabled, plus several error-handling adjustments in the regex engine.
2026.2.28
This release bumps the regex package from 2026.2.26 to 2026.2.28. The code change focuses on how cached internal regex work buffers are synchronized when running under free-threaded Python (Py_GIL_DISABLED).
2026.2.26
Release 2026.2.26 was published on 2026-02-26, but no release notes were provided by the publisher. As a result, there is no documented information about new features, breaking changes, bug fixes, security, performance improvements, or migration steps.