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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for super-expressive-python-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0470dc1a39d47231c13ffc46fc54476d4778f6063425506a260cd976b8069303 |
|
MD5 | 5c7a562b5d9d05f410176b9459c1998c |
|
BLAKE2b-256 | e5f3a0dbc06b15bfdf7831a356ac58136c86fad3a5ea20017c6c7d2fe0830645 |
Close
Hashes for super_expressive_python-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f27709afd2f0f8a2a7e1965f0a2b493b0b50e86d6392bfb5639c72ad2f0442 |
|
MD5 | eb6b7e495fd7dd99a25b121177ee14e1 |
|
BLAKE2b-256 | 76eb410d88c2581171d361ad53b1b431a7e1b8346d231155038ebbcabe33c469 |