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.2.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file nr.utils.re-0.2.0.tar.gz
.
File metadata
- Download URL: nr.utils.re-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b893c606b11c2605e6e8ff2c5c8676c6653dbe7a2fef3e4628ccef90ce67ba86 |
|
MD5 | fbe179baa32752e5b199e39c3bab0952 |
|
BLAKE2b-256 | 8a7c684a7a88963906f287b99d8ff94d1eee7e4780b4fc5eba83017bbe43917e |
File details
Details for the file nr.utils.re-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: nr.utils.re-0.2.0-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/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed244e6901c37e08d1c9323d1ced6dcea50c6d3021a2d33102dcd3baa5cced42 |
|
MD5 | d390c97276c721f49b50b4b935d891c5 |
|
BLAKE2b-256 | 4a09dca2b8b6067e35e0744c98cf301ee187689fd902f59b21e99c74408a7de1 |