This module provides some utility functions for applying regular expressions.
Project description
Note: This package is in the dangerous land of
0.x.y
versions and may be subject to breaking changes with minor version increments.
nr.utils.re
This module provides some utility functions for applying regular expressions.
Contents
match_all(expr, string)
: Matches expr from the start of string and expects that it can be matched throughout. If it fails to consume the full string, aMatchAllError
will be raised. (Note that this exception class is also accessible asmatch_all.Error
).
Copyright © 2020 Niklas Rosenstein
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
nr.utils.re-0.3.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file nr.utils.re-0.3.1.tar.gz
.
File metadata
- Download URL: nr.utils.re-0.3.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4539313620f87ef5361f0b69f85d825247b833a10be8445db75ade54611091 |
|
MD5 | b5c390f8c55051533df73b20126e54c5 |
|
BLAKE2b-256 | e6302fa64f30c4b62dc50e3019ad53282b0cf6a96c8713c2bc4469ebfcc44ce0 |
File details
Details for the file nr.utils.re-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: nr.utils.re-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a1c5b64fe99cc350724926f049ce9588e2eee72492f35b5847ad3c9810ace95 |
|
MD5 | 0bcd23a8aaa6f54dca28ddf05a0ffb82 |
|
BLAKE2b-256 | c501f9757df8ebb87c03987f60464cd66bc00338d2024ebb4be043b72eea9527 |