regress
Python bindings to Rust's regress ECMA regular expressions library
Decision gist · record as of 2026-08-14
Yes, if you need ECMA-compliant regex semantics and are on Python 3.10 or later. The permissive MIT license, zero runtime dependencies, and precompiled wheels make it low-friction to adopt. However, the aging maintenance status and Beta classification mean you should verify that ECMA regex behavior is actually required for your use case—Python's built-in re module is more actively maintained and sufficient for most applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; compiled wheels are available for common platforms but may require a build environment on unsupported architectures.
- Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.10–3.14 across Linux, macOS, and Windows architectures.
- Package is aging with Beta status, so expect slower maintenance cadence.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive); no restrictions on commercial or private use, modification, or redistribution as long as the license and copyright notice are included.
last release 2025-10-09 (309 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,089,348 downloads/mo, #2,384 on PyPI
Alternatives
Verify before relying
pip install regress
from regress import Regex
regex = Regex(r"\d{4}")
result = regex.find("2020-20-05")- Performance characteristics compared to Python's built-in re module or other regex libraries in typical use cases.
- Specific ECMA regex feature coverage and any known limitations versus full ECMAScript specification.
- Activity level and responsiveness of maintainers given the aging status and no recent commits visible.
What it is and what it does
Regress is a Python wrapper around the Rust regress crate that implements ECMA-compliant regular expressions. Unlike Python's built-in re module, which follows Perl-style regex semantics, regress exposes JavaScript/ECMAScript regex behavior through a simple Regex class with methods like find() for pattern matching.
The package is distributed as precompiled wheels for Python 3.10–3.14 on multiple platforms (Linux, macOS, Windows, and various CPU architectures), eliminating the need to compile Rust code during installation on supported systems. It has no runtime dependencies beyond the Python standard library, making it lightweight to add to an existing project. The package is in Beta status and has not been updated recently, suggesting a stable but not actively developed codebase.
Use it for
- Match patterns using ECMAScript regex syntax when porting JavaScript code to Python or maintaining cross-platform regex consistency.
- Validate input strings with ECMA-compliant patterns in web applications or data processing pipelines.
- Perform regex operations where JavaScript regex semantics are required rather than Python's default Perl-style behavior.
- Extract substrings or check pattern presence using the find() method in text processing workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need ECMA-compliant regex semantics and are on Python 3.10 or later.
The permissive MIT license, zero runtime dependencies, and precompiled wheels make it low-friction to adopt. However, the aging maintenance status and Beta classification mean you should verify that ECMA regex behavior is actually required for your use case—Python's built-in re module is more actively maintained and sufficient for most applications.
Install
regress on PyPI
Before you install
Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.10–3.14 across Linux, macOS, and Windows architectures. Package is aging with Beta status, so expect slower maintenance cadence.
Requires Python 3.10 or later; compiled wheels are available for common platforms but may require a build environment on unsupported architectures.
License in practice
MIT license (permissive); no restrictions on commercial or private use, modification, or redistribution as long as the license and copyright notice are included.
Quickstart
pip install regress
from regress import Regex
regex = Regex(r"\d{4}")
result = regex.find("2020-20-05")
Verify before relying
- Performance characteristics compared to Python's built-in re module or other regex libraries in typical use cases.
- Specific ECMA regex feature coverage and any known limitations versus full ECMAScript specification.
- Activity level and responsiveness of maintainers given the aging status and no recent commits visible.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 309 days since the last release |
| First released | |
| Downloads | 4,089,348 / month, #2,384 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: regress-2025.10.1-cp310-cp310-macosx_10_12_x86_64.whl; regress-2025.10.1-cp310-cp310-macosx_11_0_arm64.whl; regress-2025.10.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; regress-2025.10.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; regress-2025.10.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; regress-2025.10.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; regress-2025.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; regress-2025.10.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; regress-2025.10.1-cp310-cp310-musllinux_1_2_aarch64.whl; regress-2025.10.1-cp310-cp310-musllinux_1_2_i686.whl; regress-2025.10.1-cp310-cp310-musllinux_1_2_x86_64.whl; regress-2025.10.1-cp310-cp310-win32.whl; regress-2025.10.1-cp310-cp310-win_amd64.whl; regress-2025.10.1-cp311-cp311-macosx_10_12_x86_64.whl; regress-2025.10.1-cp311-cp311-macosx_11_0_arm64.whl; regress-2025.10.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; regress-2025.10.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; regress-2025.10.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; regress-2025.10.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; regress-2025.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ecma regex python”
- regressProvides Python bindings to the Rust regress crate for ECMA-compliant…
- esprima2Parses and tokenizes JavaScript code up to ECMA 2025 syntax,…
- backrefsBackrefs extends Python's re and regex libraries with additional…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also flpc · result · iregexp-check · rule-engine · advent-of-code · pytest-regex · common-expression-language · exrex · tensor-grep · real-regex