backrefs

Wrapper around re or regex that adds additional back references

Latest version: 7.0 registry icon
Maintenance score
35
Safety score
100
Popularity score
3
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
7.0 0 0 0 0 0
6.2 0 0 0 0 0
6.1 0 0 0 0 0
6.0.1 0 0 0 0 0
6.0 0 0 0 0 0
5.9 0 0 0 0 0
5.8 0 0 0 0 0
5.7.post1 0 0 0 0 0
5.6.post1 0 0 0 0 0
5.6 0 0 0 0 0
5.5.1 0 0 0 0 0
5.5 0 0 0 0 0
5.4 0 0 0 0 0
5.3 0 0 0 0 0
5.2 0 0 0 0 0
5.1 0 0 0 0 0
5.0.1 0 0 0 0 0
5.0 0 0 0 0 0
4.6 0 0 0 0 0
4.5 0 0 0 0 0
4.4 0 0 0 0 0
4.3 0 0 0 0 0
4.2.1 0 0 0 0 0
4.2 0 0 0 0 0
4.1.1 0 0 0 0 0
4.1 0 0 0 0 0
4.0.2 0 0 0 0 0
4.0.1 0 0 0 0 0
4.0 0 0 0 0 0
3.6 0 0 0 0 0
3.5.2 0 0 0 0 0
3.5.1 0 0 0 0 0
3.5 0 0 0 0 0
3.4 0 0 0 0 0
3.3 0 0 0 0 0
3.2.1 0 0 0 0 0
3.2 0 0 0 0 0
3.1.2 0 0 0 0 0
3.1.1 0 0 0 0 0
3.1 0 0 0 0 0
3.0.5 0 0 0 0 0
3.0.4 0 0 0 0 0
3.0.3 0 0 0 0 0
3.0.2 0 0 0 0 0
3.0.1 0 0 0 0 0
3.0 0 0 0 0 0
2.3rc1 0 0 0 0 0
2.3b5 0 0 0 0 0
2.3b4 0 0 0 0 0
2.3b3 0 0 0 0 0
2.3b2 0 0 0 0 0
2.3b1 0 0 0 0 0
2.2 0 0 0 0 0
2.1 0 0 0 0 0
2.1b2 0 0 0 0 0
2.1b1 0 0 0 0 0
1.0.2 0 0 0 0 0
1.0.1 0 0 0 0 0
1.0.post1 0 0 0 0 0
1.0 0 0 0 0 0

Stability
Latest release:

7.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



Donate via PayPal Coverage Status PyPI Version PyPI Downloads PyPI - Python Version License

Backrefs

Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library. Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some.

>>> from backrefs import bre
>>> pattern = bre.compile(r'(\p{Letter}+)')
>>> pattern.sub(r'\C\1\E', 'sometext')
'SOMETEXT'

Documentation

https://facelessuser.github.io/backrefs/

License

MIT