Skip to main content

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.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.

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

re_extensions-0.0.5-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file re_extensions-0.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for re_extensions-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d347eaa415a782da7904f6b65d870917dd28cff3ae8d5079d64d7188a241cc2a
MD5 fbd9d54694abd9a23593aaee0c7c45d7
BLAKE2b-256 b0d5e1a450c932b14b1908abf584af73e75237c0abb38e32e0099c73722a15f3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page