paroxython
paroxython copied to clipboard
Update regex to 2024.5.15
This PR updates regex from 2022.9.13 to 2024.5.15.
Changelog
2024.5.15
Git issue 530: hangs with fuzzy and optionals
It's not hanging, it'll finish eventually. It's just an example of catastrophic backtracking.
The error printed when Ctrl+C is pressed does show a bug, though, which is now fixed.
2024.5.10
Updated for Python 3.13.
<time.h> now needs to be included explicitly because Python.h no longer includes it.
2024.4.28
Git issue 527: `VERBOSE`/`X` flag breaks `\N` escapes
2024.4.16
Git issue 525: segfault when fuzzy matching empty list
2023.12.25
Cannot get release notification action in main.yml to work. Commenting it out for now.
2023.12.24
Fixed invalid main.yml.
2023.12.23
The escape function no longer escapes \x00. It's not necessary.
Inline flags can now be turned off and apply to what follows.
Added \R to match line endings.
2023.10.3
Updated to Unicode 15.1.0.
2023.8.8
Git issue 508: Regex doesn't build using CPython main (3.13.0a0)
Removed usage of _PyBytes_Join and did a little tidying of the code that makes the result string.
2023.6.3
Git issue 498: Conditional negative lookahead inside positive lookahead fails to match
Conditional node needed an additional member that points to the true branch.
2023.5.5
Removed semicolon after 'else' in 'munge_name'.
2023.5.4
Fixed pyproject.toml and setup.py.
2023.5.3
pyproject.toml was missing.
2023.5.2
Added pyproject.toml.
2023.3.23
Git issue 495: Running time for failing fullmatch increases rapidly with input length
Re-enabled modified repeat guards due to regression in speed caused by excessive backtracking.
2023.3.22
Git issue 494: Backtracking failure matching regex `^a?(a?)b?c\1$` against string `abca`
Disabled repeat guards. They keep causing issues, and it's just simpler to rely on timeouts.
2022.10.31
Updated text for supported Unicode and Python versions.
Links
- PyPI: https://pypi.org/project/regex
- Changelog: https://data.safetycli.com/changelogs/regex/
- Repo: https://github.com/mrabarnett/mrab-regex