Project: regress

Python bindings to Rust's regress ECMA regular expressions library

Project Details

Latest version
0.4.5
Home Page
None
PyPI Page
https://pypi.org/project/regress/

Project Popularity

PageRank
0.0017156470621831977
Number of downloads
196026

=========== 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