Skip to main content

I-Regexp push-down automaton checker

Project description

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 specification.

Install

pip install iregexp

Usage

from iregexp import check
from iregexp import toPCRE

succeeded = check('[azioyy]*')

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iregexp-0.6.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

iregexp-0.6.1-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page