Oven logo

Oven

regress2024.8.1

Published

Python bindings to Rust's regress ECMA regular expressions library

pip install regress

Package Downloads

Weekly DownloadsMonthly Downloads

Requires Python

>=3.8

Dependencies

    =========== regress

    |PyPI| |Pythons| |CI|

    .. |PyPI| image:: https://img.shields.io/pypi/v/regress.svg :alt: PyPI version :target: https://pypi.org/project/regress/

    .. |Pythons| image:: https://img.shields.io/pypi/pyversions/regress.svg :alt: Supported Python versions :target: https://pypi.org/project/regress/

    .. |CI| image:: https://github.com/Julian/regress/workflows/CI/badge.svg :alt: Build status :target: https://github.com/Julian/regress/actions?query=workflow%3ACI

    Python bindings to the Rust regress <https://docs.rs/regress/latest/regress/>_ crate, exposing ECMA regular expressions.

    .. code:: python

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