Regex

Latest version: v2024.11.6

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 42

2022.6.2

Git issue 472: Revisit compilation flag to prevent adding a single explicitly compiled regex to the cache

Added 'cache_pattern' parameter to 'compile' function to improve use of the cache.

2022.4.24

Git issue 467: Scoped inline flags 'a', 'u' and 'L' affect global flags

Those flags scan now be scoped.

2022.3.15

Git issue 457: Difference with `re`, when repl returns None

Make regex consistent with re by treating a replacement template of None as ''.

Also, now rejects invalid ASCII escapes like re module does.

2022.3.2

Git issue 453: Document last supported python2 version

Added a brief reference to the last version to support Python 2 in README.rst.

Git issue 456: RegexFlag exists in re, but not regex

Updated the flags to use enum now that regex supports only Python 3.6+.

2022.1.21

Added 'python_requires' to setup.py now that Python 2 no longer supported.

2022.1.18

* Dropped support for Python 2 and remove all references to Python <3.6, the earliest supported version.

Removed Features.rst, which was just a duplicate of README.rst.

Page 6 of 42

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.