Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update regex to 2024.11.6 #610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Nov 6, 2024

This PR updates regex from 2021.4.4 to 2024.11.6.

Changelog

2024.11.6

Git issue 546: Partial match not working in some instances with non-greedy capture

2024.9.14

Reverted to actions/download-artifactv3 and actions/upload-artifactv3 in main.yml because GitHub Actions failed when using them.

2024.9.13

Updated to actions/upload-artifactv4 in main.yml.

2024.9.12

Updated to actions/download-artifactv4 in main.yml.

2024.9.11

Updated to Unicode 16.0.0.

2024.7.24

Git issue 539: Bug: Partial matching fails on a simple example

2024.6.22

Git issue 535: Regex fails Unicode 15.1 GraphemeBreakTest due to missing new GB9c rule implementation

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.

2022.9.13

Updated to Unicode 15.0.0.

2022.9.11

Updated version.

2022.8.17

Git issue 477: \v for vertical spacing

 Added \p{HorizSpace} (\p{H}) and \p{VertSpace} (\p{V}).

2022.7.25

Git issue 475: 2022.7.24 improperly released

 The file https://pypi.org/pypi/regex/2022.7.24/json was missing references to most of the wheels, so this is a new release in the hope that it was just a glitch in GitHub Actions.

2022.7.24

Git issue 474: regex has no equivalent to re.Match.groups() for captures

 Added 'allcaptures' and 'allspans' methods to match objects.

 Fixed bug where compiling a pattern didn't always check for unused arguments.

2022.7.9

Git issue 473: Emoji classified as letter

 The values for GC:Assigned and GC:LC were flipped.

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.

2021.11.9

Git issue 442: Fuzzy regex matching doesn't seem to test insertions correctly

2021.11.2

Removed unused functions.

 Added long description type to setup.py.

2021.11.1

Further changes for migration to Github.

2021.10.23

Git issue 433: Disagreement between fuzzy_counts and fuzzy_changes

 Fuzzy changes were sometimes not removed when backtracking.

2021.10.21

Removed Apple Silicon build from .travis.yml because it's not currently codesigned by Travis CI.

2021.10.8

Git issue 428: match hangs on the following example - possible infinite loop?

 Fixed miscalculation of total error count when there's more than one fuzzy term.

2021.9.30

Git issue 427: Possible bug with BESTMATCH

2021.9.24

Updated to Unicode 14.0.0.

2021.8.27

Git issue 420: segmentation fault in finditer (maybe others)

 Fixed a bugs in fast searches in reverse direction.

2021.8.21

Updated version.

2021.8.3

Forgot to update version!

2021.7.6

Additional fix for Git issue 415.

2021.7.5

Git issue 415: Fuzzy character restrictions don't apply to insertions at "right edge"

2021.7.1

Git issue 407: API is not a drop-in replacement for python's re when it comes to typing

 Now exports Match object as well as Pattern object.

 Git issue 414: Memory optimization questions

 sys.getsizeof returns a more accurate size of a pattern object. It includes the size of internal data, but, as is the norm, does not include the size of public objects.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant