forked from mrabarnett/mrab-regex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.txt
1351 lines (683 loc) · 33.7 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Version: 2023.12.25
Cannot get release notification action in main.yml to work. Commenting it out for now.
Version: 2023.12.24
Fixed invalid main.yml.
Version: 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.
Version: 2023.10.3
Updated to Unicode 15.1.0.
Version: 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.
Version: 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.
Version: 2023.5.5
Removed semicolon after 'else' in 'munge_name'.
Version: 2023.5.4
Fixed pyproject.toml and setup.py.
Version: 2023.5.3
pyproject.toml was missing.
Version: 2023.5.2
Added pyproject.toml.
Version: 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.
Version: 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.
Version: 2022.10.31
Updated text for supported Unicode and Python versions.
Version: 2022.9.13
Updated to Unicode 15.0.0.
Version: 2022.9.11
Updated version.
Version: 2022.8.17
Git issue 477: \v for vertical spacing
Added \p{HorizSpace} (\p{H}) and \p{VertSpace} (\p{V}).
Version: 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.
Version: 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.
Version: 2022.7.9
Git issue 473: Emoji classified as letter
The values for GC:Assigned and GC:LC were flipped.
Version: 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.
Version: 2022.4.24
Git issue 467: Scoped inline flags 'a', 'u' and 'L' affect global flags
Those flags scan now be scoped.
Version: 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.
Version: 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+.
Version: 2022.1.21
Added 'python_requires' to setup.py now that Python 2 no longer supported.
Version: 2022.1.18
Updated version for new release.
Version: 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.
Version: 2021.11.9
Git issue 443: 2021.11.9 source release is missing C headers
Updated version.
Version: 2021.11.9
Git issue 442: Fuzzy regex matching doesn't seem to test insertions correctly
Version: 2021.11.2
Git issue 435: Unmatched groups: sub vs subf
A similar fix also applies to expandf: unmatched groups should expand to an empty string.
Version: 2021.11.2
Removed unused functions.
Added long description type to setup.py.
Version: 2021.11.1
Further changes for migration to Github.
Version: 2021.10.23
Git issue 433: Disagreement between fuzzy_counts and fuzzy_changes
Fuzzy changes were sometimes not removed when backtracking.
Version: 2021.10.21
Removed Apple Silicon build from .travis.yml because it's not currently codesigned by Travis CI.
Version: 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.
Version: 2021.9.30
Git issue 427: Possible bug with BESTMATCH
Version: 2021.9.24
Updated to Unicode 14.0.0.
Version: 2021.8.27
Git issue 421: 2021.8.27 results in "Fatal Python error: Segmentation fault"
Fixed problems with use of fast searching tables in opposite direction.
Version: 2021.8.27
Git issue 420: segmentation fault in finditer (maybe others)
Fixed a bugs in fast searches in reverse direction.
Version: 2021.8.21
Updated version.
Version: 2021.8.3
Forgot to update version!
Version: 2021.7.6
Additional fix for Git issue 415.
Version: 2021.7.5
Git issue 415: Fuzzy character restrictions don't apply to insertions at "right edge"
Version: 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.
Version: 2021.4.4
Git issue 408: regex fails with a quantified backreference but succeeds with repeated backref
Git issue 407: API is not a drop-in replacement for python's re when it comes to typing
Version: 2021.3.17
Git issue 403: Fuzzy matching with wrong distance (unnecessary substitutions)
Reworked the fuzzy matching code.
Version: 2020.11.13
Git issue 394: Unexpected behaviour in fuzzy matching with limited character set with IGNORECASE flag
Version: 2020.11.11
Update version.
Version: 2020.11.2
Updated list of supported Python versions.
Added .travis.yml file.
Version: 2020.10.28
Git issue 362: Any LICENSE work for this project?
Changed licence to Apache 2.0 and added licence file.
Version: 2020.10.23
Git issue 387: Compilaton flag to avoid storing compiled regexp in internal cache
Slight reversion/revision. You can prevent explicitly-compiled patterns from being cached by using "cache_all(False)".
Version: 2020.10.22
Git issue 387: Compilaton flag to avoid storing compiled regexp in internal cache
No longer caches patterns that are compiled explicitly.
Version: 2020.10.15
Git issue 386: GCC 10 warnings
Fixed bugs in fuzzy_match_string_fld and fuzzy_match_group_fld.
Added more braces around data in some Unicode tables.
Version: 2020.10.11
Git issue 385: Comments in expressions
Didn't parse regex comments property when in VERBOSE mode.
Version: 2020.9.27
Git issue 383: Memory Error - regex.findall
The problem was caused by a lazy repeat looping forever, growing the backtracking stack. Greedy repeats were OK.
Version: 2020.7.14
Git issue 377: request: \h for horizontal space
Added \h as an alias to [[:blank:]].
Version: 2020.6.7
Git issue 376: Is the \L option as efficient as it can be?
Improved performance of string sets.
Version: 2020.6.7
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.
Version: 2020.5.14
Git issue 372: Regression from 2020.4.4 -> 2020.5.7 in non-fuzzy matching pattern
Changed the 'state' member that's tested in is_repeat_guarded for a fuzzy match. The previously-used member wasn't initialised in a non-fuzzy match. The new test is a better one to use anyway.
Version: 2020.5.13
Git issue 371: Specifying character set when fuzzy-matching allows characters not in the set
fuzzy_ext_match and fuzzy_ext_match_group_fld didn't support sets!
Version: 2020.5.7
Git issue 370: Confusions about Fuzzy matching behavior (prob a bug?)
Version: 2020.4.4
Updated to Unicode 13.0.0.
Version: 2020.2.20
Git issue 365: Memory leak occurs in fuzzy match at some substitution use cases
Version: 2020.2.18
Git issue #364: Contradictory values in fuzzy_counts and fuzzy_changes
Version: 2020.1.7
Issue 357: New exception "ValueError: unused keyword argument" breaks use case
Added ignore_unused keyword argument.
Issue 359: 2020.1.7 source distribution release contains \r\n line endings
Fixed line endings for source distribution.
Issue 360: Invalid modeline in `_regex.c`
Removed vim modeline.
Version: 2020.1.7
Fix to previous change.
Version: 2019.12.21
Hg issue 353: fuzzy changes negative indexes
Fuzzy change positions were off by 1 for deletions.
Version: 2019.12.18
Another complaint from Linux.
Version: 2019.12.17
New release and upload because of problem with source distribution.
Version: 2019.12.17
New release and upload because of previous issues.
Version: 2019.12.17
Make changes to setup.py.
Version: 2019.12.16
Discarded changes for Linux.
Version: 2019.12.16
Backed out changeset: f57e64d2085b
Version: 2019.12.15
add bdist_wheel command to setup.py
Version: 2019.12.9
Hg issue 348: '\X' (extended grapheme cluster) can't pass Unicode's GraphemeBreakTest (12.1.0)
Fixed a couple of bugs in unicode_at_grapheme_boundary.
Version: 2019.10.31
Made "Additional Features" linkable.
Updated setup.
Minor bug fix.
Version: 2019.8.19
Hg issue 338: specifying allowed characters when fuzzy-matching
Added character testing to a fuzzy constraint.
Version: 2019.6.8
Hg issue 333: error when installing regex on PyPy2.7 v7.1.1 on Windows
PyPy isn't officially supported, but this might fix it!
Version: 2019.6.5
Updated for Python 3.8.
Version: 2019.6.2
Updated to Unicode 12.1.0.
Version: 2019.5.25
Hg issue 329: Wrong group matches when question mark quantifier is used within a look behind
REPEAT_ONE was backtracking in the wrong direction, so it never hit the limit.
Version: 2019.4.14
Hg issue 327: .fullmatch() causes MemoryError
For fullmatch, added check for end/start of string for RE_OP_SUCCESS in try_match.
Version: 2019.4.12
Missing brace in 'state_fini'.
Version: 2019.4.10
Hg issue 325: module docstring not accessible
Additional fix for regex_3/regex.py.
Hg issue 326: Version is out of sync with PyPI
Version: 2019.3.12
Hg issue 319: Support for a timespan parameter
Added timeout parameter in Python 3. TimeoutError was added in Python 3.3, and as Python 2.7 will soon reach EOL, I'm not bothered about supporting timeouts for Python 2.
Version: 2019.3.9
Hg issue 320: Abnormal performance
Forgot about negative lookarounds! Previous change now applies only to positive lookarounds.
Version: 2019.3.8
Hg issue 320: Abnormal performance
Included firstset from lookaround, where appropriate.
Version: 2019.2.21
Hg issue 316: __version__ no longer accessible via regex.__version__
Version: 2019.2.20
Hg issue 314: Import error: "No module named regex._regex_core"
Was OK for wheels, but not for setup.py.
Version: 2019.2.19
Hg issue 313: test_regex.py ends up in site-packages/test_regex.py
Tidied files away into subfolder in site-packages.
Version: 2019.2.18
Fixed bug in unicode_at_grapheme_boundary.
Version: 2019.2.7
Moved some StateData declarations to make the code conform to the C89 standard.
Version: 2019.2.6
Lookarounds no longer save the repeat data. Lookarounds no longer saves captures if they don't contain any groups.
Version: 2019.2.5
Atomic groups no longer save the repeat data; that proved to be unnecessary.
Version: 2019.2.3
Further improvements to the new code.
Version: 2019.1.24
Hg issue 308: infinite search
Fixed a re-allocation bug.
Version: 2019.1.23
Major overhaul of code to use simpler stacks. The result is now much easier to understand and maintain!
Version: 2018.11.22
Hg issue 304: Unreasonable edge case that used to work
Now moves the minimum number of repeats out of a repeat if it contains a repeat. This allows a repeat guard to be put back, which reduces the chance of catastrophic backtracking.
Version: 2018.11.7
Hg issue 301: TypeError: character mapping must return integer, None or unicode
Fixed bug introduced by broken workflow.
Version: 2018.11.6
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.
Version: 2018.11.3
Hg issue 299
Reworked the fix to perform a normal match and then fall back to a partial match if that was originally requested.
Version: 2018.11.2
Hg issue 299: Partial gives misleading results with "open ended" regexp
Added checks for end of text at start and end of repeats.
Version: 2018.8.29
Hg issue 293: scx (Script Extensions) property currently matches incorrectly
One of the tables for Script Extensions was partly incorrectly ordered.
Version: 2018.8.17
Hg issue 291: Include Script Extensions as a supported Unicode property
Added the Unicode Script Extensions property.
Version: 2018.7.11
Hg issue #289: Regex and Python typing
Added types for Pattern and Match.
Hg issue #290: Turkish locale causes import of regex to fail
str (bytestring) in Python 2 is locale-sensitive. Added a function to uppercase ASCII-range letters in a locale-insensitive way.
Version: 2018.6.21
Hg issue 286: Regex matches with `re` but not with `regex` module
Version: 2018.6.20
The reported positions of fuzzy changes were sometimes incorrect.
Version: 2018.6.9
Updated Unicode word and grapheme boundaries for Unicode 11.0.0, which I had overlooked... :-(
Version: 2018.6.6
Correction to filenames.
Version: 2018.6.5
Updated to Unicode 11.0.0.
Version: 2018.2.21
Hg issue 276: Partial Matches yield incorrect matches and bounds
Fixed an off-by-one bug where a lazy repeat is followed by a character (quick check).
Version: 2018.2.8
Hg issue 273: Missing unicode normalization quick check properties
The Unicode normalization quick check properties weren't handled correctly.
Version: 2018.2.3
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.
Version: 2018.1.10
Further changes to match re module's behaviour on zero-width matching for Python 3.7.
Changes to the locations of the source files.
Version: 2017.12.12
Hg issue 268: Update the escape() documentation
Added documentation for escape.
Hg issue 269: Building a bdist using setuptools throws an error.
Moved source files from subfolders to main folders for Python versions.
Version: 2017.12.9
Further changes to match re module's behaviour on zero-width matching for Python 3.7.
Version: 2017.12.5
Hg issue 266: fuzzy match alignment recovery
Added 'fuzzy_changes' attribute to match object to indicate positions of changes in fuzzy match.
Stopped supporting Python 2.5 and Python 3.1-3.2.
Made changes to zero-width matching for Python 3.7.
Version: 2017.11.9
Hg issue 264: Failure to import regex in pypy3-5.8.0
Version: 2017.11.8
Hg issue 264: Failure to import regex in pypy3-5.8.0
Hg issue 265: Invalid pointer in munmap_chunk (core dump) for specific inputs
Version: 2017.9.23
Hg issue 253: Run into error under PyPy 5.8.0
Version: 2017.8.1
Hg issue #240: Unable to build the project from source on OSX with PyPy3.5-5.7.1-beta
Needed to compensate for the differences between CPython and PyPy.
Version: 2017.4.6
Added setup.py for building from the Hg working directory.
Version: 2017.4.6
Hg issue 236: Incorrect references to bugs.python.org issues
Version: 2017.2.8
Failed to build on AIX using xlc because FALSE and TRUE were already #define'd. Replaced enum {FALSE, TRUE} with #define's.
Version: 2017.1.17
Hg issue 230: Is it a bug of (?(DEFINE)...)
Capture groups in (?(DEFINE)...) shouldn't be treated as 'visible' capture groups by .findall.
Version: 2017.1.14
Hg issue 227: Performance trap of (?V1i) flags
Further improvements. It now tries to split full case-folded literals into simple and full case-folded literals where full case-folding isn't needed because simple case-folding is faster.
Version: 2017.1.13
Hg issue 227: Performance trap of (?V1i) flags
Version: 2016.12.27
Hg issue 227: Incorrect behavior for ? operator with UNICODE + IGNORECASE
'end_pos' wasn't always initialised in 'locate_required_string'.
Version: 2016.11.21
Hg issue 226: Error matching at start of string
Fuzzy matching of zero-width items wasn't quite right.
Version: 2016.11.18
Hg issue 225: BESTMATCH in fuzzy match not working
Version: 2016.10.22
Hg issue 221: Got an exception using PyPy
pypy2-v5.4.1 appears not to support the buffer protocol on bytestrings (str in Python 2), so added code to handle them analogously to how unicode strings are handled.
Version: 2016.10.20
Make setup use setuptools if it's available.
Version: 2016.10.12
Hg issue 221: Got an exception using PyPy
Added check for error in fold_case which, I hope, will reveal the exception that it's not reporting.
Version: 2016.9.22
Hg issue 220: Misbehavior of group capture with OR operand
Repeats should not be factored out of branches because a branch should be exhausted before trying the next one.
Version: 2016.9.13
Also supported on Python 3.6.
Version: 2016.8.27
Hg issue 219: Unicode word boundries
For a Unicode word boundary (UAX #29), apostrophe in rule WB5a should include both U+0027 (APOSTROPHE) and U+2019 (RIGHT SINGLE QUOTATION MARK /
* curly apostrophe).
Version: 2016.7.21
Hg issue 217: Core dump in conditional ahead match and matching \! character
Fixed bug where it incorrectly tried to restore saved groups when none saved.
Version: 2016.7.14
Hg Issue 216: Invalid match when using negative lookbehind and pipe
The creation and position of a branch firstset wasn't always correct.
Version: 2016.6.25
Updated to support Unicode 9.0.0.
Version: 2016.6.19
Hg issue 214: tests failure when using python debug flavor
Further tweaks re error handling.
Version: 2016.6.14
Hg issue 213: Segmentation Fault
Info about atomic groups wasn't pushed properly.
Version: 2016.6.5
Hg issue 212: Unexpected matching difference with .*? between re and regex
In 'add_repeat_guards', it wasn't propagating the status from the tail back towards the head across default nodes, so the guards weren't always correct.
Version: 2016.6.2
Hg issue 211: Segmentation fault with recursive matches and atomic groups
It wasn't saving the call frame and then restoring it when backtracking out of atomic groups.
Version: 2016.5.23
Hg issue 206: Incompatible with re if single { in the pattern
Brought the regex module's handling more in line with the re module. It now more readily treats an invalid fuzzy constraint as a literal.
Version: 2016.5.15
Hg issue 208: Named list, (?ri) flags, Backreference
Fixed more issues with the alignment of text in a buffer when using named lists.
Also changed how a compiled regex is pickled to use a bytestring for the packed code list. (It was actually pickling an unpacked list of ints.)
Version: 2016.5.14
Hg issue 205: Named list and (?ri) flags
string_set_match_ign_fwdrev wasn't taking into account that it fills the folded buffer from the end when searching in reverse.
Version: 2016.5.13
Hg issue 204: confusion of (?aif) flags
The FULLCASE flag is now ignored if the ASCII flag is turned on.
Version: 2016.4.25
Hg issue 203: partial matching bug
The text position wasn't always set correctly before returning the status.
Version: 2016.4.16
Hg issue 201: ENHANCEMATCH crashes interpreter
Fixed an issue with restoring group captures.
Version: 2016.4.7
Hg issue 199: Segfault in re.compile
Removed copies of groups that weren't called.
Version: 2016.4.3
Hg issue 197: ValueError in regex.compile
Hg issue 198: ValueError in regex.compile
It wasn't catching ValueError and then raising regex.error.
Version: 2016.4.2
Hg issue 196: Fuzzy matching on repeated regex not working as expected
Also reduced memory usage of pickle data.
Version: 2016.3.31
# Hg issue #194: .FULLCASE and Backreference
Capture groups failed to match when using full case folding because of a bug in the handling of "I", which needs to be treated specially to cope with the Turkic I).
Version: 2016.3.26
Hg issue #193: Alternation and .REVERSE flag.
The firstset before a branch was at the wrong end for a reverse pattern.
Added back some tests that were accidentally omitted.
Version: 2016.3.24
Hg issue 192: Named lists reverse matching doesn't work with IGNORECASE and V1
string_set_match_fld_fwdrev wasn't taking into account that it fills the folded buffer from the end when searching in reverse.
Version: 2016.3.2
Hg issue 190: Regression? Neverending regexp when upgrading to latest version.
The fix for Hg issue 187 wasn't quite right. Managed to remove recursion entirely from 'add_repeat_guards'.
Version: 2016.2.25
Hg issue 188: Crash during search
Stopped calling 'try_match' recursively when the tail of a branch is a branch. Increasing alternatives to 40000 caused the stack to overflow.
Version: 2016.2.24
Hg issue 187: Crash on Anaconda Python if large number of pattern
Remove the recursion in 'use_nodes'. Increasing alternatives to 50000 caused the stack to overflow.
Version: 2016.2.23
Hg issue 187: Crash on Anaconda Python if large number of pattern
Reduced the amount of recursion in 'add_repeat_guards'. The large number of alternatives (25154) caused the stack to overflow.
Version: 2016.1.10
Hg issue 177: Build fails on pypy (OS X 10.11, clang)
Stripped out the #if...#endif that was added for Hg issue 135, which is no longer needed by more recent versions of PyPy.
Version: 2015.11.22
Hg issue 180: bug of POSIX matching
Fixed bug where the groups aren't always correct with POSIX matching.
Version: 2015.11.14
Hg issue 172: Performance of V1 mode
Fixed bug where RE_FLAG_FULLCASE not turned off when RE_FLAG_IGNORECASE turned off, leading to omission of first set.
Version: 2015.11.12
Hg issue 171: Weird performance of V1 mode
Fixed bug where RE_FLAG_FULLCASE not turned off when RE_FLAG_IGNORECASE turned off for required string, leading to required string not being used.
Version: 2015.11.9
Hg issue 169: Performance
Further tweaks to fuzzy matching.
Version: 2015.11.8
Hg issue 167: Performance of Backreference
No longer saves/restores groups or repeats around a lookaround if it doesn't contain any.
Version: 2015.11.7
Hg issue 166: Performance
Improved the performance of fuzzy matching.
Version: 2015.11.5
Hg issue 165: Performance / hung search
Made changes to fuzzy matching code, including refactoring different kind of fuzzy matching (exact/simple/enhanced/best).
Version: 2015.10.28
Hg issue 163: allow lookarounds in conditionals
Added support for a lookaround in a conditional pattern, e.g. r'(?(?=\d)\d+\b|\w+)'.
Version: 2015.10.22
Hg issue 161: Unexpected fuzzy match results
Fixed the bug and did some related tidying up.
Version: 2015.10.5
Hg issue 158: Group issue with (?(DEFINE)...)
The groups and repeats weren't restored properly when a lookaround completed and it contained a group call.
Version: 2015.10.1
Hg issue 157: regression: segfault on complex lookaround
Nested lookarounds/atomic groups didn't restore state correctly.
Version: 2015.9.28
Hg issue 156: regression on atomic grouping
It didn't initialise min_width when building the atomic group.
Version: 2015.9.23
Hg issue 154: Segmentation fault 11 when working with an atomic group
Version: 2015.9.15
Hg issue 150: Have an option for POSIX-compatible longest match of alternates
Added POSIX matching (leftmost longest).
Version: 2015.7.20
Hg issue #147: Fuzzy match can return match points beyond buffer end
It wasn't checking for the edge of the text when case-folding and it was also advancing even when case-folding had failed.
Version: 2015.7.12
Hg issue #146: Forced-fail (?!) works improperly in conditional
Empty negative lookarounds weren't optimised correctly.
The capture groups weren't being cleared before retrying after failure.
Version: 2015.6.24
Hg issue #144: Latest version problem with matching 'R|R'
The prefix of a set of branches was omitted.
Version: 2015.6.21
Hg issue #143: Partial matches have incorrect span if prefix is '.' wildcard
Didn't set state->match_pos if search_start returned a partial match status.
Version: 2015.6.19
Updated to Unicode 8.0.
Some performance tweaks.
Version: 2015.6.15
Removed a few lines that should've been removed in the previous fix!
Version: 2015.6.14
Fixed a bug where it could sometimes search for the same required string multiple times.
Version: 2015.6.10