README
━━━━━━━━
Table of Contents
─────────────────
1 rer
2 Install
3 All in one simple function
1 rer
═════
Regular expression in regular expression.
2 Install
═════════
`pip install rer'
3 All in one simple function
════════════════════════════
┌────
│ import re
│
│ __version__ = '1.1.2'
│ __author__ = 'Meme Kagurazaka'
│ __license__ = 'Public Domain'
│
│
│ def rer(re_string, re_group=0,
│ item_continuation=lambda _: _, list_continuation=lambda _: _,
│ re_continuation=None):
│ """rer atom
│
│ This function use regular expression string `re_string' and the group
│ `re_group' (default 0) to match the `data'. This will evaluates a list,
│ a function `re_continuation' will apply to every match of the list,
│ a function `list_continuation' will apply to the list. `list_continuation'
│ does nothing by default.
│
│ `re_continuation' applies `item_continuation' to `re_group' by default.
│
│ Return value is a function which can be apply to the `data'.
│ Return value can also be used as a `item_continuation' or
│ `list_continuation' of another rer recursively.
│ """
│
│ if re_continuation is None:
│ re_continuation = lambda _: item_continuation(_.group(re_group))
│
│ return lambda x: list_continuation(
│ [re_continuation(_) for _ in re.compile(re_string).finditer(x)])
└────
Metadata
Release files for rer 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rer-1.1.2.tar.gz | 2.1 kB | Without provenance | Details for rer-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rer-1.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for rer-1.1.2-py2.py3-none-any.whl |
Total release size: 5.9 kB
Release files / rer-1.1.2.tar.gz
| Download URL | rer-1.1.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cffe6c9efac66464c279989554414e4a1a87e4ba01df246ad06887c1dbff5367
|
|
BLAKE2b-256 checksum How to use checksums |
bd1a0f1b8b07cb8fdd32889eecc0f489ee065a2dc2f968e7affa0852c4e88b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rer-1.1.2-py2.py3-none-any.whl
| Download URL | rer-1.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7a617bca4e00c809968d6d3ef39c9aaf65e7eca8a0ca6525c10ceb6e29fb600f
|
|
BLAKE2b-256 checksum How to use checksums |
6b3d73aa7e988bb69d56537615f1a18029078e1f81f5283dbabf5e741f0cdda9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rer 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.