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.8
- Bugfix: Updated the required Python version to
3.12.7.
v0.0.7
- Imported * from the
re_extensions.smartnamespace into the mainre_extensionsnamespace.
v0.0.6
- Removed
smart.real_findall()- usesmart.finditer()orsmart.line_finditer()instead.
v0.0.5
- New (advanced) regex operations
smart.finditer()andsmart.line_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
Smartassmart. Please runfrom re_extensions import smartto activate this namespace. - Bugfix for
smart.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
smart.rsplit(),smart.lsplit(),smart.line_findall(), andsmart.real_findall(); - string operations
counted_strip(),line_count(),line_count_iter(), andword_wrap(); - utility classes
Smart,SmartPatternandSmartMatch; - 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file re_extensions-0.0.8-py2.py3-none-any.whl.
File metadata
- Download URL: re_extensions-0.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2204a08f97d06a5d5f41e2ecdd6ff7bef482fbf799709fdddbf3e0fc9b087a00
|
|
| MD5 |
2a0aee9bcc058cd825b05bb03dd9bfb7
|
|
| BLAKE2b-256 |
26c6e6431daddca0f046aabedef680ccb15a2f139558959f30da5c911b7bdd65
|