Metadata-Version: 2.1
Name: iregexp
Version: 0.6.0
Summary: I-Regexp push-down automaton checker
Home-page: https://github.com/springcomp/python-iregexp
Author: Springcomp
Author-email: springcomp@users.noreply.github.com
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# I-Regexp Checker

IRegexpChecker is pushdown automaton that very quickly determines if a regular expression using a specified interoperable subset is syntactically correct.

It supports the [I-Regexp](https://ietf-wg-jsonpath.github.io/iregexp/draft-ietf-jsonpath-iregexp.html) specification.

## Install

```sh
pip install iregexp
```

## Usage

```python
from iregexp import check
from iregexp import toPCRE

succeeded = check('[azioyy]*')

## returns PCRE-compatible expression
regex = toPCRE('.*', anchor = True)
```
