Python bindings to Rust's regress ECMA regular expressions library


Keywords
regex, rust, javascript, ecmascript, regular, expressions, pyo3-rust-bindings, python, regular-expressions
License
MIT
Install
pip install regress==0.0.3

Documentation

regress

PyPI version Supported Python versions Build status

Python bindings to the Rust regress crate, exposing ECMA regular expressions.

>>> from regress import Regex
>>> regex = Regex(r"\d{4}")
>>> regex.find("2020-20-05") is not None
True