Skip to main content

Simplify work with regex.

Project description

regexer

Simplify working with regex.

Examples:

>>> Regexer([r"(?P<num>\d+)")("Test01 string sentence02")['num']
['01', '02']
>>> RegexerString("Test01 string sentence02")[r"(?P<num>\d+)", 'num']
['01', '02']
>>> RegexerString("Test01 string sentence02")[r"(?P<num>\d+)", 1, 'num']
'02'
>>> RegexerString("Test01 string sentence02") / r"\w\d{2}"
['Tes', ' string sentenc']
>>> RegexerString("Test01 string sentence02") - r"\d"
'Test string sentence'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regexer-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file regexer-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: regexer-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for regexer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85a7b8ba33883dc685392a42f5a9ecba13fbb6d6f835a33de79b71e4b7aa2e02
MD5 2e7adb495b2963caf826950b8739c3ae
BLAKE2b-256 e87e8e08933b43d09a057ab35bcd00b8edbd425786037dc91eda73c9f2a7da39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page