Skip to main content

python port of super-expressive

Project description

super-expressive-python

This is a python port of super-expressive.

Notes on implementation choices are in notes.md.

Example

>>> import superexpressive as se
>>> se.to_regex(se.START_OF_INPUT, se.optional('0x'), se.capture(se.range(('a', 'f'), ('A', 'F'), ('0', '9')), se.exactly(4)), se.END_OF_INPUT)
'^(?:0x)?([a-fA-F0-9]{4})?$'

Installation

TODO

Usage

TODO

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

super-expressive-python-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

super_expressive_python-0.0.1-py3-none-any.whl (3.7 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