Skip to content

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

License

Notifications You must be signed in to change notification settings

crate-py/regress

Repository files navigation

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