{"library":"types-regex","type":"library","category":null,"description":"types-regex provides static type annotations (stubs) for the `regex` package, an alternative regular expression module for Python. It is part of the typeshed project and allows type checkers like Mypy and Pyright to perform static analysis on code using the `regex` library. The current version is 2026.4.4.20260408, and stub packages from typeshed are automatically released, often multiple times a day, to keep up with runtime library changes.","language":"python","status":"active","version":"2026.4.4.20260408","tags":["typing","stubs","regex","typeshed"],"last_verified":"Thu May 21","install":[{"cmd":"pip install types-regex regex","imports":["import regex","from regex import Match","from regex import Pattern"]}],"homepage":null,"github":"https://github.com/typeshed-internal/stub_uploader","docs":null,"changelog":"https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/regex.md","pypi":"https://pypi.org/project/types-regex/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.2,"avg_import_s":0.1,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/types-regex/compatibility"}}