Extensions for the `re` package.
Project description
re-extensions
Extensions for the re
package.
Installation
$ pip install re-extensions
Requirements
See Also
Github repository
PyPI project
License
This project falls under the BSD 3-Clause License.
History
v0.0.6
- Removed
real_findall()
- usesmart_finditer()
orline_finditer()
instead.
v0.0.5
- New (advanced) regex operations
smart_finditer()
andline_finditer()
. - Removed
pattern_inreg()
because it has the same functionality asre.escape()
- use that instead.
v0.04
- New string operation
quote_collapse()
. - Renamed the namespace
Smart
assmart
. Please runfrom re_extensions import smart
to activate this namespace. - Bugfix for
rsplit()
;
v0.0.3
- The basic structure of the package is completed, including:
- advanced regex operations
smart_search()
,smart_match()
,smart_fullmatch()
,smart_sub()
,smart_subn()
, andsmart_split()
; - new regex operations
rsplit()
,lsplit()
,line_findall()
, andreal_findall()
; - string operations
counted_strip()
,line_count()
,line_count_iter()
, andword_wrap()
; - utility classes
Smart
,SmartPattern
andSmartMatch
; - and other utility functions:
find_right_bracket()
,find_left_bracket()
, andpattern_inreg()
.
- advanced regex operations
v0.0.2
- Bugfix for
setup.py
.
v0.0.1
- Initial release.
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
File details
Details for the file re_extensions-0.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: re_extensions-0.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2159c4034f652527401aaa19fa5ef78199b8b82d93a54a586c1bb9f3a47b590 |
|
MD5 | 14da459fef05ad7ac02e6910647d1378 |
|
BLAKE2b-256 | 54670a6b3290ffa88ee5de3e141a11fa713857c05fc5a96b33baa915ad97f6ef |