summaryrefslogtreecommitdiff
path: root/src/pcre2_compile.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some numerical checking bugs, Bugzilla 2690.ph102021-02-011-17/+35
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1295 6239d852-aaf2-0410-a92c-79f79f948069
* Fix read overflow for invalid VERSION test with one fractional digit at the end ph102020-06-291-0/+1
| | | | | | | of a pattern. Fixes ClusterFuzz 23779. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1266 6239d852-aaf2-0410-a92c-79f79f948069
* Add cast to prevent a compiler warning.ph102020-06-051-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1264 6239d852-aaf2-0410-a92c-79f79f948069
* Renamed dftables as pcre2_dftables and enable it to write the tables in binary. ph102020-03-201-5/+5
| | | | | | | Update documentation about character tables. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1237 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bugs in new UCP casing code for back references and characters with more ph102020-02-261-6/+7
| | | | | | | than 2 cases. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1231 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bad lookbehind compilation when preceded by a DEFINE group.ph102020-02-241-0/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1228 6239d852-aaf2-0410-a92c-79f79f948069
* Unicode upper/lower casing is now used when UCP is set, even if UTF is not set. ph102020-02-231-17/+29
| | | | | | | This is not yet documented, and it not yet implemented in JIT. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1224 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bug in processing (?(DEFINE)...) within lookbehind assertions.ph102020-01-261-6/+14
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1212 6239d852-aaf2-0410-a92c-79f79f948069
* Allow real repetition of assertions.ph102020-01-011-7/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1202 6239d852-aaf2-0410-a92c-79f79f948069
* Add (?* and (?<* synonyms for non-atomic lookarounds.ph102019-12-281-15/+20
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1197 6239d852-aaf2-0410-a92c-79f79f948069
* Remove atomic restriction on capture groups containing recursive back ph102019-12-181-47/+3
| | | | | | | references, as since 10.30 it has been unnecessary. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1193 6239d852-aaf2-0410-a92c-79f79f948069
* Final file tidies for 10.34ph102019-11-211-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1188 6239d852-aaf2-0410-a92c-79f79f948069
* Fix sometimes failing caseless non-ASCII matching in assertion. ph102019-11-161-0/+13
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1185 6239d852-aaf2-0410-a92c-79f79f948069
* Source tidies (trailing spaces) etc. for 10.34-RC1.ph102019-10-171-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1180 6239d852-aaf2-0410-a92c-79f79f948069
* Mend bug introduced in previous patch. Fixes crash detected by ClusterFuzz ph102019-09-101-5/+13
| | | | | | | 17101. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1169 6239d852-aaf2-0410-a92c-79f79f948069
* Optimize classes such as [Aa] to be a single caseless character.ph102019-09-091-17/+68
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1168 6239d852-aaf2-0410-a92c-79f79f948069
* Back off failed attempt to handle nested lookbehinds for estimating how much of ph102019-09-041-72/+26
| | | | | | | | a partial match to retain for multi-segment matching. Document the current difficulty if the whole first segment cannot be retained. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1163 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bug introduced in commit 1133. Lookbehinds that follow a condition were not ph102019-08-261-9/+17
| | | | | | | always properly handled. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1160 6239d852-aaf2-0410-a92c-79f79f948069
* (*ACCEPT) at start of branch was not recording "may match empty string".ph102019-07-231-2/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1144 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bug in recent patch for lookbehinds within lookaheads. Fixes ClusterFuzz ph102019-07-181-9/+13
| | | | | | | 15933. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1138 6239d852-aaf2-0410-a92c-79f79f948069
* Check start code unit bit map for setting minimum length.ph102019-07-161-0/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1135 6239d852-aaf2-0410-a92c-79f79f948069
* Fix lookbehind within lookahead within lookbehind misbehaviour bug.ph102019-07-161-29/+49
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1133 6239d852-aaf2-0410-a92c-79f79f948069
* Fix oversights in recent non-atomic assertions patch. Fixes ClusterFuzz 15837.ph102019-07-151-6/+11
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1132 6239d852-aaf2-0410-a92c-79f79f948069
* Implement non-atomic positive assertions.ph102019-07-131-31/+79
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1130 6239d852-aaf2-0410-a92c-79f79f948069
* Check for integer overflow when computing lookbehind lengths. Fixes Clusterfuzz ph102019-07-041-10/+28
| | | | | | | issue 13656. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1126 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bugs in recent patch for setting the maximum lookbehind.ph102019-06-281-36/+65
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1124 6239d852-aaf2-0410-a92c-79f79f948069
* Improve maximum lookbehind calculation for nested lookbehinds.ph102019-06-251-9/+30
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1121 6239d852-aaf2-0410-a92c-79f79f948069
* Don't ignore {1}+ when it is applied to a parenthesized item.ph102019-06-191-11/+20
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1111 6239d852-aaf2-0410-a92c-79f79f948069
* Fix minimum length bug for patterns containing (*ACCEPT).ph102019-06-181-1/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1110 6239d852-aaf2-0410-a92c-79f79f948069
* Another fix to the recent (*ACCEPT) patch. Fixes clusterfuzz 15242.ph102019-06-141-4/+14
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1105 6239d852-aaf2-0410-a92c-79f79f948069
* Minor improvement to minimum length calculation.ph102019-06-131-17/+47
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1103 6239d852-aaf2-0410-a92c-79f79f948069
* Fix minor oversight in previous patch. Fixes clusterfuzz 15199.ph102019-06-111-6/+9
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1102 6239d852-aaf2-0410-a92c-79f79f948069
* Allow (*ACCEPT) to be quantified.ph102019-06-101-11/+33
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1101 6239d852-aaf2-0410-a92c-79f79f948069
* Implement support for invalid UTF in the pcre2_match() interpreter.ph102019-05-241-5/+9
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1094 6239d852-aaf2-0410-a92c-79f79f948069
* Implement a check on the number of capturing parentheses, which for some reason ph102019-04-221-1/+11
| | | | | | | has never existed. This fixes ClusterFuzz issue 14376. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1088 6239d852-aaf2-0410-a92c-79f79f948069
* Final file tidies for 10.33.ph102019-04-161-6/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1086 6239d852-aaf2-0410-a92c-79f79f948069
* Casts and rewrites to avoid clang sanitize warnings.ph102019-04-161-2/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1085 6239d852-aaf2-0410-a92c-79f79f948069
* Change a number of expressions like 1<<10 to 1u<<10.ph102019-04-121-4/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1083 6239d852-aaf2-0410-a92c-79f79f948069
* Compile \p{Any} the same as . in DOTALL mode, to benefit from auto-anchoring.ph102019-02-131-24/+35
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1072 6239d852-aaf2-0410-a92c-79f79f948069
* Fix overflow bug in new /u code. Fixes ClusterFuzz 13073.ph102019-02-131-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1071 6239d852-aaf2-0410-a92c-79f79f948069
* Implement PCRE2_EXTRA_ALT_BSUX to support ECMAscript 6's \u{hhh..} syntax.ph102019-02-121-48/+89
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1070 6239d852-aaf2-0410-a92c-79f79f948069
* Previout bug-fix was bad. This properly fixes an overrun while reading a ph102019-02-071-1/+1
| | | | | | | Unicode group name. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1069 6239d852-aaf2-0410-a92c-79f79f948069
* Fix small bug in new Unicode group name logic.ph102019-02-071-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1068 6239d852-aaf2-0410-a92c-79f79f948069
* Allow non-ASCII in group names when UTF is set; revise group naming terminology ph102019-02-061-25/+63
| | | | | | | in documentation to use "capture group", as Perl does. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1066 6239d852-aaf2-0410-a92c-79f79f948069
* Fix issues with BAD_ESCAPE_IS_LITERAL in character classes.ph102019-01-041-19/+21
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1058 6239d852-aaf2-0410-a92c-79f79f948069
* Fix non-recognition of anchoring when preceded by (*MARK) etc.ph102018-11-271-4/+12
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1048 6239d852-aaf2-0410-a92c-79f79f948069
* Fix teeny typo.ph102018-10-281-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1036 6239d852-aaf2-0410-a92c-79f79f948069
* Fix typos and obsolescences in comments.ph102018-10-211-4/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1033 6239d852-aaf2-0410-a92c-79f79f948069
* Fix zero-repeated subroutine call at start of pattern bug, which recorded an ph102018-10-201-3/+5
| | | | | | | incorrect first code unit. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1032 6239d852-aaf2-0410-a92c-79f79f948069
* Fix typos in code for alphabetic ranges in EBCDIC environments.ph102018-10-151-5/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1027 6239d852-aaf2-0410-a92c-79f79f948069