# re-extensions
Extensions for the `re` package.
## Installation
```sh
$ pip install re-extensions
```
## Requirements
```txt
```
## See Also
### Github repository
* https://github.com/Chitaoji/re-extensions/
### PyPI project
* https://pypi.org/project/re-extensions/
## License
This project falls under the BSD 3-Clause License.
## History
### v0.0.6
* Removed `real_findall()` - use `smart_finditer()` or `line_finditer()` instead.
### v0.0.5
* New (advanced) regex operations `smart_finditer()` and `line_finditer()`.
* Removed `pattern_inreg()` because it has the same functionality as `re.escape()` - use that instead.
### v0.04
* New string operation `quote_collapse()`.
* Renamed the namespace `Smart` as `smart`. Please run `from 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()`, and `smart_split()`;
* new regex operations `rsplit()`, `lsplit()`, `line_findall()`, and `real_findall()`;
* string operations `counted_strip()`, `line_count()`, `line_count_iter()`, and `word_wrap()`;
* utility classes `Smart`, `SmartPattern` and `SmartMatch`;
* and other utility functions: `find_right_bracket()`, `find_left_bracket()`, and `pattern_inreg()`.
### v0.0.2
* Bugfix for `setup.py`.
### v0.0.1
* Initial release.
Raw data
{
"_id": null,
"home_page": "https://github.com/Chitaoji/re-extensions/",
"name": "re-extensions",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8.13",
"maintainer_email": null,
"keywords": null,
"author": "Chitaoji",
"author_email": "2360742040@qq.com",
"download_url": null,
"platform": null,
"description": "\n# re-extensions\nExtensions for the `re` package.\n\n## Installation\n```sh\n$ pip install re-extensions\n```\n\n## Requirements\n```txt\n\n```\n\n## See Also\n### Github repository\n* https://github.com/Chitaoji/re-extensions/\n\n### PyPI project\n* https://pypi.org/project/re-extensions/\n\n## License\nThis project falls under the BSD 3-Clause License.\n\n## History\n### v0.0.6\n* Removed `real_findall()` - use `smart_finditer()` or `line_finditer()` instead.\n\n### v0.0.5\n* New (advanced) regex operations `smart_finditer()` and `line_finditer()`.\n* Removed `pattern_inreg()` because it has the same functionality as `re.escape()` - use that instead.\n\n### v0.04\n* New string operation `quote_collapse()`.\n* Renamed the namespace `Smart` as `smart`. Please run `from re_extensions import smart` to activate this namespace.\n* Bugfix for `rsplit()`;\n\n### v0.0.3\n* The basic structure of the package is completed, including:\n * advanced regex operations `smart_search()`, `smart_match()`, `smart_fullmatch()`, `smart_sub()`, `smart_subn()`, and `smart_split()`;\n * new regex operations `rsplit()`, `lsplit()`, `line_findall()`, and `real_findall()`;\n * string operations `counted_strip()`, `line_count()`, `line_count_iter()`, and `word_wrap()`;\n * utility classes `Smart`, `SmartPattern` and `SmartMatch`;\n * and other utility functions: `find_right_bracket()`, `find_left_bracket()`, and `pattern_inreg()`.\n\n### v0.0.2\n* Bugfix for `setup.py`.\n\n### v0.0.1\n* Initial release.\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Extensions for the `re` package.",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/Chitaoji/re-extensions/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "54670a6b3290ffa88ee5de3e141a11fa713857c05fc5a96b33baa915ad97f6ef",
"md5": "14da459fef05ad7ac02e6910647d1378",
"sha256": "e2159c4034f652527401aaa19fa5ef78199b8b82d93a54a586c1bb9f3a47b590"
},
"downloads": -1,
"filename": "re_extensions-0.0.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "14da459fef05ad7ac02e6910647d1378",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8.13",
"size": 9957,
"upload_time": "2024-11-21T10:29:42",
"upload_time_iso_8601": "2024-11-21T10:29:42.476643Z",
"url": "https://files.pythonhosted.org/packages/54/67/0a6b3290ffa88ee5de3e141a11fa713857c05fc5a96b33baa915ad97f6ef/re_extensions-0.0.6-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-21 10:29:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Chitaoji",
"github_project": "re-extensions",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "re-extensions"
}