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
- The repo appears to be actively maintained, with recent upstream activity (last push 2026-05-09) and multiple versioned updates published in 2026 (2026.5.9, 2026.4.4, 2026.4.3).
- Update cadence looks fairly regular, with an update gap of about 5 weeks between 2026.4.4 and 2026.5.9, and two closely timed updates around 2026-04-03 (2026.4.3 and 2026.4.4).
AI summary generated Today
Recent updates
2026.5.9
3 weeks agoRelease 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
2 months agoRelease 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
2 months agoRelease 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
2 months agoThis 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
2 months agoThis 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
2 months agoThis 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
2 months agoRelease 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
2 months agoRelease 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
3 months agoThis 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
3 months agoRelease 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.