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.
Metadata
Release files for re-extensions 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| re_extensions-0.0.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / re_extensions-0.0.8-py2.py3-none-any.whl
| Download URL | re_extensions-0.0.8-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2204a08f97d06a5d5f41e2ecdd6ff7bef482fbf799709fdddbf3e0fc9b087a00
|
|
BLAKE2b-256 checksum How to use checksums |
26c6e6431daddca0f046aabedef680ccb15a2f139558959f30da5c911b7bdd65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.13
|