1
1
mirror of https://github.com/mrabarnett/mrab-regex.git synced 2025-10-05 20:02:39 +02:00

468 Commits

Author SHA1 Message Date
Matthew Barnett
4359a6a565 Enable free-threading support in cibuildwheel in another place. 2025.9.20 2025-09-19 00:27:59 +01:00
Matthew Barnett
2fe1139034 Enable free-threading support in cibuildwheel. 2025.9.19 2025-09-19 00:05:23 +01:00
Matthew Barnett
db5c9c636e Git issue 565: Support the free-threaded build of CPython 3.13 2025.9.18 2025-09-18 23:30:05 +01:00
Matthew Barnett
49e3881e9f Git PR 585: Fix AttributeError: 'AnyAll' object has no attribute '_key' 2025.9.1 2025-09-01 22:18:04 +01:00
Matthew Barnett
183a653894 Git issue 584: AttributeError: 'AnyAll' object has no attribute 'positive' 2025.8.29 2025-08-29 22:49:46 +01:00
Matthew Barnett
23ca191dd8 Git issue 575: Issues with ASCII/Unicode modifiers 2025.7.34 2025-07-31 00:29:33 +01:00
Matthew Barnett
88fee8529b Updated main.yml and pyproject.toml. 2025.7.33 2025-07-30 18:09:15 +01:00
mrabarnett
7ebda8c032 Merge pull request #582 from facelessuser/bugfix/setuptools
Fix sdist license failure with setuptools
2025-07-30 17:54:17 +01:00
facelessuser
26d6efc9bf Setup failure scenario
Fix sdist license failure with setuptools
2025-07-30 10:32:22 -06:00
Matthew Barnett
a4a6d9443b Git issue 580: Regression in v2025.7.31: \P{L} no longer matches in simple patterns 2025.7.32 2025-07-30 16:41:17 +01:00
Matthew Barnett
becb0d456d Updated version and added changes to changelog.txt. 2025.7.31 2025-07-30 00:20:42 +01:00
mrabarnett
457bcd38a5 Merge pull request #577 from facelessuser/bugfix/linux
Fix aarch64, ppc64le, s390x, and source dist
2025-07-30 00:09:58 +01:00
facelessuser
0d045f7728 No need to upload source in manylinux 2025-07-29 16:53:27 -06:00
facelessuser
f2d385b10a Fix aarch64, ppc64le, s390x, and source dist 2025-07-29 16:49:15 -06:00
mrabarnett
4bc46f1397 Merge pull request #574 from facelessuser/bugfix/wheels
Get builds working
2025.7.30
2025-07-29 19:28:40 +01:00
facelessuser
4c9da2eee6 Experiment with wheel building
Attempt refactoring
2025-07-29 12:10:24 -06:00
Matthew Barnett
33c577bd3b Git issue 572: Inline ASCII modifier doesn't seem to affect anything 2025.7.29 2025-07-29 14:57:55 +01:00
Matthew Barnett
addaa7c484 Updated licence format in pyproject.toml. 2025.5.18 2025-05-18 18:01:01 +01:00
mrabarnett
b3905c5f22 Merge pull request #567 from tangledhelix/windows-arm-ci
Build Windows ARM64/aarch64 wheel
2025-05-18 17:40:33 +01:00
Dan Lowe
eea31d053f Build Windows ARM64/aarch64 wheel
On Windows ARM, the user must build the `regex` wheel locally,
which requires installation of compiler tools. This PR instead
tells cibuildwheel to build a Windows ARM64 wheel in addition
to the already handled `x86` and `AMD64` targets.

This was tested in Github Actions and produced a working wheel,
installable without local build on Windows 11 Pro ARM64. I tested
that it will import in Python, but did not extensively test the
module other than that.
2025-05-18 02:11:27 -04:00
Matthew Barnett
be75782535 Dropping support for Python 3.8 and removing it from main.yml. 2025.2.13 2025-02-11 00:03:11 +00:00
Matthew Barnett
622a8e2cea Further fixes to main.yml. 2025.2.12 2025-02-10 23:32:39 +00:00
Matthew Barnett
b9868e8adc Updated main.yml to Artifacts v4. 2025.2.11 2025-02-10 21:36:10 +00:00
Matthew Barnett
8225213902 Git issue 551: Infinite loop on V1 search
It's catastrophic backtracking due to the possibilities of full casefolding.

Replacing `[\s\S]` with `(?s:.)` can help, but a proper fix would be more difficult.
2025.2.10
2025-02-10 20:55:45 +00:00
Matthew Barnett
26012d90d0 Updated pyproject.toml and setup.py according to PEP 517. 2024.11.7 2024-11-07 16:52:17 +00:00
Matthew Barnett
930983aa68 Git issue 546: Partial match not working in some instances with non-greedy capture 2024.11.6 2024-11-06 19:48:55 +00:00
Matthew Barnett
64834c729b Reverted to actions/download-artifact@v3 and actions/upload-artifact@v3 in main.yml because GitHub Actions failed when using them. 2024.9.14 2024-09-11 19:36:34 +01:00
Matthew Barnett
1bcd42e838 Updated to actions/upload-artifact@v4 in main.yml. 2024.9.13 2024-09-11 18:53:31 +01:00
Matthew Barnett
f46728542b Updated to actions/download-artifact@v4 in main.yml. 2024.9.12 2024-09-11 18:00:38 +01:00
Matthew Barnett
d3510fea2a Updated to Unicode 16.0.0. 2024.9.11 2024-09-11 17:22:19 +01:00
Matthew Barnett
e8a8d28aa3 Git issue 539: Bug: Partial matching fails on a simple example 2024.7.24 2024-07-24 22:29:17 +01:00
Matthew Barnett
6d086ffc5b Git issue 535: Regex fails Unicode 15.1 GraphemeBreakTest due to missing new GB9c rule implementation 2024.6.22 2024-06-22 18:06:08 +01:00
Matthew Barnett
8eabb4223e 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.15
2024-05-15 16:53:10 +01:00
Matthew Barnett
be139ffc3a Updated for Python 3.13.
<time.h> now needs to be included explicitly because Python.h no longer includes it.
2024.5.10
2024-05-10 01:57:53 +01:00
Matthew Barnett
2e3272be48 Git issue 527: VERBOSE/X flag breaks \N escapes 2024.4.28 2024-04-28 20:11:20 +01:00
Matthew Barnett
9c950f2c25 Updated changelog. 2024.4.16 2024-04-16 19:34:42 +01:00
Matthew Barnett
5d65c8a727 Git issue 525: segfault when fuzzy matching empty list 2024-04-16 19:33:07 +01:00
Matthew Barnett
4f2ed52b3d Cannot get release notification action in main.yml to work. Commenting it out for now. 2023.12.26 2023-12-24 02:11:07 +00:00
Matthew Barnett
647c006a88 Further fixes in main.yml. 2023.12.25 2023-12-24 01:45:31 +00:00
Matthew Barnett
d0afd79fba Another fix in main.yml. 2023.12.14 2023-12-24 01:23:36 +00:00
Matthew Barnett
c1f1f2af4c Fixed invalid main.yml. 2023.12.24 2023-12-24 00:36:53 +00:00
Matthew Barnett
cdcbf36aeb 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.12.23
2023-12-24 00:13:19 +00:00
Matthew Barnett
34333d5009 Updated changelog.txt. 2023.10.3 2023-10-03 16:52:22 +01:00
Matthew Barnett
fba846ded3 Updated to Unicode 15.1.0. 2023-10-03 16:51:13 +01:00
Matthew Barnett
bc73ebb5d7 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.8.8
2023-08-08 21:35:46 +01:00
Matthew Barnett
774dbfda42 # 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.6.3
2023-06-03 18:03:41 +01:00
Matthew Barnett
9f03255c92 Removed semicolon after 'else' in 'munge_name'. 2023.5.5 2023-05-03 18:27:06 +01:00
Matthew Barnett
797b57a4ac Fixed pyproject.toml and setup.py. 2023.5.4 2023-05-02 17:42:18 +01:00
Matthew Barnett
16bcce0d56 Add changelog.txt. 2023.5.3 2023-05-02 15:24:40 +01:00
Matthew Barnett
d235c2c17f pyproject.toml was missing. 2023-05-02 15:19:39 +01:00