summaryrefslogtreecommitdiff
path: root/src/pcre2_match.c
Commit message (Collapse)AuthorAgeFilesLines
* File tidies for 10.36-RC1 ph102020-11-061-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1283 6239d852-aaf2-0410-a92c-79f79f948069
* Fix Bugzilla #2642: no match bug in 8-bit mode for caseless invalid utf ph102020-09-151-2/+8
| | | | | | | matching. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1272 6239d852-aaf2-0410-a92c-79f79f948069
* Added tests for __attribute__((uninitialized)) to both the configure and ph102020-04-231-1/+2
| | | | | | | | CMake build files. Used to disable initialization of the match stack frames vector (clang has an automatic initialization feature). git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1246 6239d852-aaf2-0410-a92c-79f79f948069
* File tidies for 10.35-RC1 release candidate.ph102020-04-151-6/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1244 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bugs in new UCP casing code for back references and characters with more ph102020-02-261-8/+22
| | | | | | | than 2 cases. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1231 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-28/+97
| | | | | | | 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
* Avoid some VS compiler warnings.ph102019-12-261-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1195 6239d852-aaf2-0410-a92c-79f79f948069
* Fix error offset bug introduced at 1176.ph102019-10-161-0/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1179 6239d852-aaf2-0410-a92c-79f79f948069
* Fix pessimizing optimization of start-of-match code units in the interpreters.ph102019-09-061-12/+38
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1164 6239d852-aaf2-0410-a92c-79f79f948069
* Fix allusedtext bug, rightmost consulted character incorrect in negative ph102019-08-101-0/+1
| | | | | | | lookaheads. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1157 6239d852-aaf2-0410-a92c-79f79f948069
* Comments updates.ph102019-08-011-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1154 6239d852-aaf2-0410-a92c-79f79f948069
* More partial match tweaks.ph102019-07-221-2/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1142 6239d852-aaf2-0410-a92c-79f79f948069
* Update definition of partial match and fix \z and \Z (as documented).ph102019-07-211-30/+25
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1140 6239d852-aaf2-0410-a92c-79f79f948069
* Tidy partial matching code; prepare for possible future change.ph102019-07-141-7/+24
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1131 6239d852-aaf2-0410-a92c-79f79f948069
* Implement non-atomic positive assertions.ph102019-07-131-1/+13
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1130 6239d852-aaf2-0410-a92c-79f79f948069
* Make pcre2_match() return (*MARK) names from successful conditional assertions, ph102019-06-131-3/+4
| | | | | | | as Perl and the JIT do. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1104 6239d852-aaf2-0410-a92c-79f79f948069
* Tweak limits on "must have" code unit searches (improves some performance).ph102019-05-281-38/+37
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1097 6239d852-aaf2-0410-a92c-79f79f948069
* Implement support for invalid UTF in the pcre2_match() interpreter.ph102019-05-241-78/+330
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1094 6239d852-aaf2-0410-a92c-79f79f948069
* Change a number of expressions like 1<<10 to 1u<<10.ph102019-04-121-10/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1083 6239d852-aaf2-0410-a92c-79f79f948069
* Update explanatory comment.ph102018-11-271-11/+14
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1047 6239d852-aaf2-0410-a92c-79f79f948069
* Set subject field in match data to NULL after failed match.ph102018-10-191-7/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1031 6239d852-aaf2-0410-a92c-79f79f948069
* Implement PCRE2_COPY_MATCHED_SUBJECT.ph102018-10-171-12/+53
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1028 6239d852-aaf2-0410-a92c-79f79f948069
* Basic "script run" implementation. Not yet complete, and not yet documented.ph102018-10-021-0/+9
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1019 6239d852-aaf2-0410-a92c-79f79f948069
* File tidies and documentation update for 10.32-RC1 Release Candidate.ph102018-08-131-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@983 6239d852-aaf2-0410-a92c-79f79f948069
* Allow :NAME on (*ACCEPT), (*FAIL), and (*COMMIT) and fix bug with (*MARK) ph102018-07-211-4/+12
| | | | | | | followed by (*ACCEPT) in an assertion. More small updates to perltest.sh. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@968 6239d852-aaf2-0410-a92c-79f79f948069
* Fixed atomic group backtracking bug.ph102018-07-161-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@965 6239d852-aaf2-0410-a92c-79f79f948069
* Patches for portability.ph102018-06-201-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@941 6239d852-aaf2-0410-a92c-79f79f948069
* More typos and changes to "Kibibytes" for "Kilobytes".ph102018-06-181-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@937 6239d852-aaf2-0410-a92c-79f79f948069
* Typos in documentation and comments noted by Jason Hood.ph102018-06-171-6/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@936 6239d852-aaf2-0410-a92c-79f79f948069
* Fix \C bug with repeated character classes in UTF-8 mode.ph102018-02-191-4/+12
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@918 6239d852-aaf2-0410-a92c-79f79f948069
* Tidy ACROSSCHAR macro to take same form as FORWARDCHAR and BACKCHAR.ph102018-01-011-11/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@902 6239d852-aaf2-0410-a92c-79f79f948069
* Small tidy to start of match optimizations.ph102018-01-011-0/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@901 6239d852-aaf2-0410-a92c-79f79f948069
* Previous FIRSTLINE patch was broken. Fix it.ph102018-01-011-22/+15
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@900 6239d852-aaf2-0410-a92c-79f79f948069
* Fix PCRE2_FIRSTLINE bug when a pattern match starts with the first code unit of ph102018-01-011-6/+15
| | | | | | | a newline sequence. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@899 6239d852-aaf2-0410-a92c-79f79f948069
* Add callout_flags to callout blocks, and set bits within it from pcre2_match() ph102017-12-221-5/+10
| | | | | | | interpretation. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@893 6239d852-aaf2-0410-a92c-79f79f948069
* Rejig how callout blocks are allocated in pcre2_match().ph102017-12-161-24/+36
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@891 6239d852-aaf2-0410-a92c-79f79f948069
* A small code tidy for one error return.ph102017-12-161-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@890 6239d852-aaf2-0410-a92c-79f79f948069
* Add some casts to avoid compiler warnings.ph102017-09-261-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@867 6239d852-aaf2-0410-a92c-79f79f948069
* Replace multiple copies of extended grapheme sequence code with a single ph102017-09-121-196/+8
| | | | | | | subroutine. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@858 6239d852-aaf2-0410-a92c-79f79f948069
* Update grapheme breaking rules for Unicode 10.0.0.ph102017-07-051-4/+155
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@839 6239d852-aaf2-0410-a92c-79f79f948069
* Allow anchored patterns to use "first code unit" optimization.ph102017-06-301-104/+133
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@837 6239d852-aaf2-0410-a92c-79f79f948069
* Add suitable "fall through" comments for latest gcc warnings.ph102017-06-031-5/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@819 6239d852-aaf2-0410-a92c-79f79f948069
* Implement PCRE2_NEWLINE_NUL.ph102017-05-261-0/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@806 6239d852-aaf2-0410-a92c-79f79f948069
* More refactoring for ovector addressing.ph102017-05-111-7/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@780 6239d852-aaf2-0410-a92c-79f79f948069
* A better fix for oss-fuzz 1465.ph102017-05-111-2/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@779 6239d852-aaf2-0410-a92c-79f79f948069
* Refactor to avoid sanitize warnings when accessing the variable size ovector in ph102017-05-101-1/+7
| | | | | | | | the backtracking frame. Fixes oss-fuzz issue 1465. Also make -bigstack in RunTest allocate a 64Mb stack for use with clang sanitizing. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@778 6239d852-aaf2-0410-a92c-79f79f948069
* Refactor to avoid picky compiler warnings. Fixes oss-fuzz issue 1454.ph102017-05-101-16/+22
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@777 6239d852-aaf2-0410-a92c-79f79f948069
* Tidy comments about UTF case-independence.ph102017-04-201-20/+13
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@762 6239d852-aaf2-0410-a92c-79f79f948069
* Improve testing coverage with updates to pcre2test and test files; also get rid ph102017-04-161-24/+25
| | | | | | | of redundant code in pcre2_match(). git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@751 6239d852-aaf2-0410-a92c-79f79f948069
* Ensure ovector[0,1] are both PCRE2_UNSET during callouts.ph102017-04-141-10/+18
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@749 6239d852-aaf2-0410-a92c-79f79f948069