NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2363 most downloaded on PyPI
Typing stubs for regex
Last release 23 days ago
11 Sep 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
69 releases · first in 2021
One column per quarter.
* Bump regex to 2026.9.10
* Bump regex to 2026.9.3
Fix allcaptures()/allspans() return type
Release: https://pypi.org/pypi/regex/2026.8.31 \ Homepage: https://github.com/mrabarnett/mrab-regex \ Repository: https://github.com/mrabarnett/mrab-r
Bump regex to 2026.8.31 (#16325)
Release: https://pypi.org/pypi/regex/2026.8.31
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2026.7.19...2026.8.31
Stubsabot analysis of the diff between the two releases:
regex/_main.py, regex/_regex_core.py.If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
* Bump to 2026.7.19
[regex] Bump to 2026.7.10
[regex] Bump to 2026.7.10 (#15996)
[regex] Bump to 2026.6.28
[regex] Bump to 2026.6.28 (#15964)
Upgrade black to 26.5.0
Upgrade black to 26.5.0 (#15801)
[stubsabot] Bump regex to 2026.5.9
[stubsabot] Bump regex to 2026.5.9 (#15748)
Release: https://pypi.org/pypi/regex/2026.5.9 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2026.4.4...2026.5.9
Stubsabot analysis of the diff between the two releases:
regex/_main.py.If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
Import some items from typing instead of typing_extensions
Import some items from typing instead of typing_extensions (#15711)
Part of #13782
Use dashes instead of underscores for METADATA.toml field names
Use dashes instead of underscores for METADATA.toml field names (#15614)
[regex] Bump to 2026.4.4
[regex] Bump to 2026.4.4 (#15602)
[stubsabot] Bump regex to 2026.3.32
[stubsabot] Bump regex to 2026.3.32 (#15570)
[stubsabot] Bump regex to 2026.2.28
[stubsabot] Bump regex to 2026.2.28 (#15475)
[regex] Update to 2026.2.19
[regex] Update to 2026.2.19 (#15439)
[stubsabot] Bump regex to 2026.1.15
[stubsabot] Bump regex to 2026.1.15 (#15281)
[stubsabot] Bump regex to 2025.11.3
[stubsabot] Bump regex to 2025.11.3 (#14977)
[regex] Update to 2025.10.23
[regex] Update to 2025.10.23 (#14908)
[stubsabot] Bump regex to 2025.9.18
[stubsabot] Bump regex to 2025.9.18 (#14751)
[stubsabot] Bump regex to 2025.9.1
[stubsabot] Bump regex to 2025.9.1 (#14668)
Release: https://pypi.org/pypi/regex/2025.9.1 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2025.8.29...2025.9.1
Stubsabot analysis of the diff between the two releases:
If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[stubsabot] Bump regex to 2025.8.29
[stubsabot] Bump regex to 2025.8.29 (#14663)
[stubsabot] Bump regex to 2025.7.34
[stubsabot] Bump regex to 2025.7.34 (#14497)
Remove Python 3.8 exclusive branches
Remove Python 3.8 exclusive branches (#13772)
Fix various argument of extension modules
Fix various argument of extension modules (#13651)
METH_O flag.*args, **kwargs arguments that are using the
METH_NOARGS flag in C.Enable Ruff PLE (Pylint Error)
Enable Ruff PLE (Pylint Error) (#13305)
Update to mypy 1.14
Update to mypy 1.14 (#13272)
[stubsabot] Bump regex to 2024.11.6
[stubsabot] Bump regex to 2024.11.6 (#12967)
[stubsabot] Bump regex to 2024.9.11
[stubsabot] Bump regex to 2024.9.11 (#12641)
Release: https://pypi.org/pypi/regex/2024.9.11 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.7.24...2024.9.11
Stubsabot analysis of the diff between the two releases:
If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
[stubsabot] Bump regex to 2024.7.24
[stubsabot] Bump regex to 2024.7.24 (#12424)
Mark pos-only __class_getitem__ args
[stubsabot] Bump regex to 2024.5.15
[stubsabot] Bump regex to 2024.5.15 (#11918)
Co-authored-by: stubsabot <>
regex: functions do not accept any buffer for pattern
regex: functions do not accept any buffer for pattern (#11899)
[stubsabot] Bump regex to 2024.5.10
[stubsabot] Bump regex to 2024.5.10 (#11894)
Release: https://pypi.org/pypi/regex/2024.5.10 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.28...2024.5.10
Stubsabot analysis of the diff between the two releases:
regex: improve Pattern annotations
regex: improve Pattern annotations (#11862)
pos and endpos arguments to int | None = Nonetimeout argument to float | None = NoneNone for concurrent and timeout parameters0 for maxsplit parameterpartial parameter where applicableflags parameter from sub methods[stubsabot] Bump regex to 2024.4.28
[stubsabot] Bump regex to 2024.4.28 (#11842)
Release: https://pypi.org/pypi/regex/2024.4.28 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.16...2024.4.28
Stubsabot analysis of the diff between the two releases:
Add precise values for enum members where possible
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com Co-authored-by: Alex Waygood alex.waygood@gmail.com
[stubsabot] Bump regex to 2024.4.16
[stubsabot] Bump regex to 2024.4.16 (#11773)
Use PEP 570 syntax in third party stubs
Use PEP 570 syntax in third party stubs (#11554)
Update typing_extensions imports in third-party stubs
Update typing_extensions imports in third-party stubs (#11245)
[stubsabot] Bump regex to 2023.12.25
[stubsabot] Bump regex to 2023.12.25 (#11198)
[stubsabot] Bump regex to 2023.10.3
[stubsabot] Bump regex to 2023.10.3 (#10832)
[stubsabot] Bump regex to 2023.8.8
[stubsabot] Bump regex to 2023.8.8 (#10553)
Release: https://pypi.org/pypi/regex/2023.8.8 Homepage: https://github.com/mrabarnett/mrab-regex Repository: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.6.3...2023.8.8
Stubsabot analysis of the diff between the two releases:
Add an upstream_repository field to METADATA.toml
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
[stubsabot] Bump regex to 2023.6.3
[stubsabot] Bump regex to 2023.6.3 (#10252)
Release: https://pypi.org/pypi/regex/2023.6.3 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.5...2023.6.3
Stubsabot analysis of the diff between the two releases:
[stubsabot] Bump regex to 2023.5.5
[stubsabot] Bump regex to 2023.5.5 (#10138)
Release: https://pypi.org/pypi/regex/2023.5.5 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.4...2023.5.5
Stubsabot analysis of the diff between the two releases:
[stubsabot] Bump regex to 2023.5.4
[stubsabot] Bump regex to 2023.5.4 (#10131)
Release: https://pypi.org/pypi/regex/2023.5.4 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.3.23...2023.5.4
Stubsabot analysis of the diff between the two releases:
Add defaults for third-party stubs Q-T
Add defaults for third-party stubs Q-T (#9959)
[stubsabot] Bump regex to 2023.3.23
[stubsabot] Bump regex to 2023.3.23 (#9933)
Release: https://pypi.org/pypi/regex/2023.3.23 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.03.22...2023.3.23
Stubsabot analysis of the diff between the two releases:
[stubsabot] Bump regex to 2023.3.22
[stubsabot] Bump regex to 2023.3.22 (#9927)
Release: https://pypi.org/pypi/regex/2023.3.22 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.10.31...2023.03.22
Stubsabot analysis of the diff between the two releases:
Stubtest settings: change ignore_missing_stub default to false
Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Use typing_extensions.Self instead of _typeshed.Self
Use typing_extensions.Self instead of _typeshed.Self (#9702)
Improve pyright verification of third-party test cases in CI
Improve pyright verification of third-party test cases in CI (#9650)
Co-authored-by: Avasam samuel.06@hotmail.com
Add test case for recent types-regex regression
Add test case for recent types-regex regression (#9269)
regex: fix type signatures using Scanner
regex: fix type signatures using Scanner (#9266)
Mark regex as completed
Mark regex as completed (#9214)
[stubsabot] Bump regex to 2022.10.31
[stubsabot] Bump regex to 2022.10.31 (#9050)
Release: https://pypi.org/pypi/regex/2022.10.31 Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.9.13...2022.10.31
Stubsabot analysis of the diff between the two releases:
If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
Nothing published for this version
[stubsabot] Bump regex to 2022.9.13
[stubsabot] Bump regex to 2022.9.13 (#8751)
Release: https://pypi.org/project/regex/2022.9.13/ Homepage: https://github.com/mrabarnett/mrab-regex Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.8.17...2022.9.13
[stubsabot] Bump regex to 2022.8.17
[stubsabot] Bump regex to 2022.8.17 (#8562)
Co-authored-by: stubsabot <>
[stubsabot] Bump regex to 2022.7.25
[stubsabot] Bump regex to 2022.7.25 (#8432)
Co-authored-by: stubsabot <>
Your coding agent can read these notes before it upgrades. Set up the MCP server →