Skip to main content

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, a MatchAllError will be raised. (Note that this exception class is also accessible as match_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 hashes)

Uploaded Source

Built Distribution

nr.utils.re-0.3.1-py3-none-any.whl (4.3 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