Matthew Barnett
49e3881e9f
Git PR 585: Fix AttributeError: 'AnyAll' object has no attribute '_key'
2025-09-01 22:18:04 +01:00
Matthew Barnett
183a653894
Git issue 584: AttributeError: 'AnyAll' object has no attribute 'positive'
2025-08-29 22:49:46 +01:00
Matthew Barnett
23ca191dd8
Git issue 575: Issues with ASCII/Unicode modifiers
2025-07-31 00:29:33 +01:00
Matthew Barnett
a4a6d9443b
Git issue 580: Regression in v2025.7.31: \P{L} no longer matches in simple patterns
2025-07-30 16:41:17 +01:00
Matthew Barnett
33c577bd3b
Git issue 572: Inline ASCII modifier doesn't seem to affect anything
2025-07-29 14:57:55 +01: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-02-10 20:55:45 +00:00
Matthew Barnett
2e3272be48
Git issue 527: VERBOSE
/X
flag breaks \N
escapes
2024-04-28 20:11:20 +01:00
Matthew Barnett
5d65c8a727
Git issue 525: segfault when fuzzy matching empty list
2024-04-16 19:33:07 +01: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-24 00:13:19 +00: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-08-08 21:35:46 +01:00
Matthew Barnett
74b8db0e81
Git issue 467: Scoped inline flags 'a', 'u' and 'L' affect global flags
...
Those flags scan now be scoped.
2022-04-24 19:02:34 +01:00
Matthew Barnett
138970bafb
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-03-15 17:03:11 +00:00
Matthew Barnett
67ab717196
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-03-02 01:18:38 +00:00
Matthew Barnett
227163df1b
* 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.
2022-01-18 15:14:33 +00:00
Matthew Barnett
1c30637ec7
Git issue 442: Fuzzy regex matching doesn't seem to test insertions correctly
2021-11-09 19:43:42 +00:00
Matthew Barnett
818685f09c
Git issue 385: Comments in expressions
...
Didn't parse regex comments property when in VERBOSE mode.
2020-10-11 03:20:49 +01:00
Matthew Barnett
fe9fb05890
Git issue 377: request: \h for horizontal space
...
Added \h as an alias to [[:blank:]].
2020-07-14 23:44:08 +01:00
Matthew Barnett
fb025ba271
Git issue 376: Is the \L option as efficient as it can be?
...
Improved performance of string sets.
2020-06-07 23:24:47 +01:00
Matthew Barnett
be28c28db9
Git issue 376: Is the \L option as efficient as it can be?
...
Switched StringSet to use fallback method due to inefficiencies in the engine. Needs more investigation.
2020-06-07 02:19:06 +01:00
Matthew Barnett
6ea85d9d2b
Issue 355: regex Info creating ref cycles
...
Now using __del__ to break ref cycle.
2020-01-06 19:03:18 +00:00
mrab
d6ba23d2eb
Hg issue 338: specifying allowed characters when fuzzy-matching
...
Added character testing to a fuzzy constraint.
2019-08-19 18:26:22 +01:00
mrab
59d0dcfa38
Hg issue 320: Abnormal performance
...
Forgot about negative lookarounds! Previous change now applies only to positive lookarounds.
2019-03-09 02:58:41 +00:00
mrab
e125faaafb
Hg issue 320: Abnormal performance
...
Included firstset from lookaround, where appropriate.
2019-03-08 22:07:01 +00:00
mrab
d4a5f30d65
Hg issue 313: test_regex.py ends up in site-packages/test_regex.py
...
Tidied files away into subfolder in site-packages.
2019-02-19 18:33:10 +00:00
mrab
1f201d0400
Fixed bug in unicode_at_grapheme_boundary.
2019-02-18 00:40:33 +00:00
Greg Rafferty
c6b335c49f
fix a bug with private_groups
2019-02-11 20:14:06 +00:00
mrab
b6bb8359a1
Hg issue 300: segmentation fault
...
Fixed a problem with not recording all fuzzy changes.
Also fixed the check for prefix/suffix in branches: when fuzzy subpatterns were compared, their constraints weren't compared.
2018-11-06 02:30:36 +00:00
mrab
a607e1d153
Updated to Unicode 11.0.0.
2018-06-05 20:49:44 +01:00
mrab
e2beacf7cc
Hg issue 273: Missing unicode normalization quick check properties
...
The Unicode normalization quick check properties weren't handled correctly.
2018-02-08 02:13:02 +00:00
mrab
2d87cf5f61
Hg issue 271: Comment logic different between Re and Regex
...
Hg issue 273: Missing unicode normalization quick check properties
Made comments consistent with re module.
Added more Unicode properties.
2018-02-03 12:50:44 +00:00
mrab
976631f3d7
Further changes to match re module's behaviour on zero-width matching for Python 3.7.
...
Changes to the locations of the source files.
2018-01-10 21:24:08 +00:00