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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.