PythonVerbalExpressions icon indicating copy to clipboard operation
PythonVerbalExpressions copied to clipboard

Python regular expressions made easy

Results 9 PythonVerbalExpressions issues
Sort by recently updated
recently updated
newest added

Update to python 3 Utilize beartype for runtime O(1) typechecking Add type hints for mypy / beartype static type checking. Update license to GPL v3

Add Python 3.7 support as soon as it is supported by Travis CI. See the upstream issue travis-ci/travis-ci#9815.

Can I construct lookahead or lookbehind assertions? I checked the source code and tests. It seems not available.

As you know, capture groups aren't only useful for replacing, they're pretty useful for extracting too. I have trouble finding this feature in this Python port, although the JS documentation...

Curent implementaion will only match latin characters when `VerEx().word()` is used. To support unicode word characters `re` module should be replaced with `regex` module: https://pypi.python.org/pypi/regex

enhancement

Added method for `\d+` pattern for matching numbers Added function `group` to avoid writing everywhere `'(' + value + ')'` and handling named groups

enhancement

added 2 methos: number: To get a number of any length (not starting with 0). one_character: To get only one character

enhancement

I personally dislike the current behavior of: from verbalexpressions import VerEx foo = VerEx().find(...).anything_but(...) As opposed to an arguably more Pythonic way: import verbalexpressions as verex foo = verex.find(...).anything_but(...) I...