/regress

Python bindings to the Rust regress crate which provides ECMA regular expressions

Primary LanguagePythonMIT LicenseMIT

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