Philip.Hazel
|
cd45050ee4
|
Final file tidies for 10.37-RC1
|
2021-04-28 16:44:51 +00:00 |
Philip.Hazel
|
8144ae04e9
|
Fix some numerical checking bugs, Bugzilla 2690.
|
2021-02-01 17:56:12 +00:00 |
Philip.Hazel
|
0ad89ab06d
|
Fix read overflow for invalid VERSION test with one fractional digit at the end
of a pattern. Fixes ClusterFuzz 23779.
|
2020-06-29 15:35:49 +00:00 |
Philip.Hazel
|
3faff02596
|
Add cast to prevent a compiler warning.
|
2020-06-05 16:11:01 +00:00 |
Philip.Hazel
|
8057c3c8b9
|
Renamed dftables as pcre2_dftables and enable it to write the tables in binary.
Update documentation about character tables.
|
2020-03-20 18:09:59 +00:00 |
Philip.Hazel
|
3155a6951f
|
Fix bugs in new UCP casing code for back references and characters with more
than 2 cases.
|
2020-02-26 16:53:39 +00:00 |
Philip.Hazel
|
3be538015b
|
Fix bad lookbehind compilation when preceded by a DEFINE group.
|
2020-02-24 17:29:00 +00:00 |
Philip.Hazel
|
4a7dfab0ec
|
Unicode upper/lower casing is now used when UCP is set, even if UTF is not set.
This is not yet documented, and it not yet implemented in JIT.
|
2020-02-23 16:40:05 +00:00 |
Philip.Hazel
|
3a6b4948d1
|
Fix bug in processing (?(DEFINE)...) within lookbehind assertions.
|
2020-01-26 15:31:27 +00:00 |
Philip.Hazel
|
5ba5230b82
|
Allow real repetition of assertions.
|
2020-01-01 12:07:02 +00:00 |
Philip.Hazel
|
ac4ab7186d
|
Add (?* and (?<* synonyms for non-atomic lookarounds.
|
2019-12-28 13:53:59 +00:00 |
Philip.Hazel
|
0a2033f0f7
|
Remove atomic restriction on capture groups containing recursive back
references, as since 10.30 it has been unnecessary.
|
2019-12-18 16:16:12 +00:00 |
Philip.Hazel
|
add4db4c87
|
Final file tidies for 10.34
|
2019-11-21 16:31:08 +00:00 |
Philip.Hazel
|
3c869816ac
|
Fix sometimes failing caseless non-ASCII matching in assertion.
|
2019-11-16 17:30:07 +00:00 |
Philip.Hazel
|
ae9208ab7b
|
Source tidies (trailing spaces) etc. for 10.34-RC1.
|
2019-10-17 16:39:38 +00:00 |
Philip.Hazel
|
78fae97f6c
|
Mend bug introduced in previous patch. Fixes crash detected by ClusterFuzz
17101.
|
2019-09-10 13:22:08 +00:00 |
Philip.Hazel
|
bf15267c30
|
Optimize classes such as [Aa] to be a single caseless character.
|
2019-09-09 17:00:19 +00:00 |
Philip.Hazel
|
963b570fd0
|
Back off failed attempt to handle nested lookbehinds for estimating how much of
a partial match to retain for multi-segment matching. Document the current
difficulty if the whole first segment cannot be retained.
|
2019-09-04 18:14:54 +00:00 |
Philip.Hazel
|
45b219e6bc
|
Fix bug introduced in commit 1133. Lookbehinds that follow a condition were not
always properly handled.
|
2019-08-26 16:28:26 +00:00 |
Philip.Hazel
|
24c62fc0d0
|
(*ACCEPT) at start of branch was not recording "may match empty string".
|
2019-07-23 16:58:57 +00:00 |
Philip.Hazel
|
c30815f5a1
|
Fix bug in recent patch for lookbehinds within lookaheads. Fixes ClusterFuzz
15933.
|
2019-07-18 17:20:29 +00:00 |
Philip.Hazel
|
0d0ee67eb0
|
Check start code unit bit map for setting minimum length.
|
2019-07-16 16:16:45 +00:00 |
Philip.Hazel
|
046c5cd21c
|
Fix lookbehind within lookahead within lookbehind misbehaviour bug.
|
2019-07-16 15:06:21 +00:00 |
Philip.Hazel
|
66811c6c73
|
Fix oversights in recent non-atomic assertions patch. Fixes ClusterFuzz 15837.
|
2019-07-15 16:04:13 +00:00 |
Philip.Hazel
|
620f3a1307
|
Implement non-atomic positive assertions.
|
2019-07-13 11:12:03 +00:00 |
Philip.Hazel
|
2e06fdcdc1
|
Check for integer overflow when computing lookbehind lengths. Fixes Clusterfuzz
issue 13656.
|
2019-07-04 17:01:53 +00:00 |
Philip.Hazel
|
4866bd3652
|
Fix bugs in recent patch for setting the maximum lookbehind.
|
2019-06-28 16:58:08 +00:00 |
Philip.Hazel
|
d21f7daf9b
|
Improve maximum lookbehind calculation for nested lookbehinds.
|
2019-06-25 15:40:42 +00:00 |
Philip.Hazel
|
da5155fed3
|
Don't ignore {1}+ when it is applied to a parenthesized item.
|
2019-06-19 16:27:50 +00:00 |
Philip.Hazel
|
ef79b978a6
|
Fix minimum length bug for patterns containing (*ACCEPT).
|
2019-06-18 16:07:43 +00:00 |
Philip.Hazel
|
300bf6e2d6
|
Another fix to the recent (*ACCEPT) patch. Fixes clusterfuzz 15242.
|
2019-06-14 15:44:57 +00:00 |
Philip.Hazel
|
1f6b9097f4
|
Minor improvement to minimum length calculation.
|
2019-06-13 16:00:11 +00:00 |
Philip.Hazel
|
f0c06ee212
|
Fix minor oversight in previous patch. Fixes clusterfuzz 15199.
|
2019-06-11 07:37:29 +00:00 |
Philip.Hazel
|
306f2b9c57
|
Allow (*ACCEPT) to be quantified.
|
2019-06-10 16:41:22 +00:00 |
Philip.Hazel
|
16c046ce50
|
Implement support for invalid UTF in the pcre2_match() interpreter.
|
2019-05-24 17:15:48 +00:00 |
Philip.Hazel
|
16de9003e5
|
Implement a check on the number of capturing parentheses, which for some reason
has never existed. This fixes ClusterFuzz issue 14376.
|
2019-04-22 12:39:38 +00:00 |
Philip.Hazel
|
4e4f273f07
|
Final file tidies for 10.33.
|
2019-04-16 15:34:27 +00:00 |
Philip.Hazel
|
4acee004ec
|
Casts and rewrites to avoid clang sanitize warnings.
|
2019-04-16 14:49:07 +00:00 |
Philip.Hazel
|
95c9d011e3
|
Change a number of expressions like 1<<10 to 1u<<10.
|
2019-04-12 14:40:27 +00:00 |
Philip.Hazel
|
255f5e741b
|
Compile \p{Any} the same as . in DOTALL mode, to benefit from auto-anchoring.
|
2019-02-13 17:30:24 +00:00 |
Philip.Hazel
|
f2e1cea288
|
Fix overflow bug in new /u code. Fixes ClusterFuzz 13073.
|
2019-02-13 16:48:30 +00:00 |
Philip.Hazel
|
8c8deae8eb
|
Implement PCRE2_EXTRA_ALT_BSUX to support ECMAscript 6's \u{hhh..} syntax.
|
2019-02-12 17:50:19 +00:00 |
Philip.Hazel
|
d90de8b053
|
Previout bug-fix was bad. This properly fixes an overrun while reading a
Unicode group name.
|
2019-02-07 17:59:37 +00:00 |
Philip.Hazel
|
45959f1eec
|
Fix small bug in new Unicode group name logic.
|
2019-02-07 17:29:50 +00:00 |
Philip.Hazel
|
d7b10a57d1
|
Allow non-ASCII in group names when UTF is set; revise group naming terminology
in documentation to use "capture group", as Perl does.
|
2019-02-06 18:11:36 +00:00 |
Philip.Hazel
|
7de013bac3
|
Fix issues with BAD_ESCAPE_IS_LITERAL in character classes.
|
2019-01-04 16:41:32 +00:00 |
Philip.Hazel
|
0b64d9cfca
|
Fix non-recognition of anchoring when preceded by (*MARK) etc.
|
2018-11-27 16:00:58 +00:00 |
Philip.Hazel
|
9a9fdf3037
|
Fix teeny typo.
|
2018-10-28 17:24:24 +00:00 |
Philip.Hazel
|
c796bb85a1
|
Fix typos and obsolescences in comments.
|
2018-10-21 15:06:43 +00:00 |
Philip.Hazel
|
996892434f
|
Fix zero-repeated subroutine call at start of pattern bug, which recorded an
incorrect first code unit.
|
2018-10-20 09:28:02 +00:00 |