summaryrefslogtreecommitdiff
path: root/pcre_exec.c
Commit message (Collapse)AuthorAgeFilesLines
* Source tidies for 8.21-RC1ph102011-12-061-19/+19
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@788 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Added (int) casts to reduce 64-bit warnings.ph102011-12-021-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@779 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bug with caseless matching of characters of different lengths when the ph102011-12-011-16/+16
| | | | | | | shorter is right at the end of the subject. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@778 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Update *MARK handling to be more like Perl.ph102011-11-291-322/+329
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@771 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Code tidies.ph102011-11-181-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@751 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Marks in non-capturing atomic groups were not being passed out.ph102011-11-081-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@743 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix cache-flush issue on PowerPC, adding some comments and a check for ↵zherczeg2011-11-061-0/+1
| | | | | | disabled PCRE_EXTRA_TABLES. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@742 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Source tidies for 8.20-RC3.ph102011-10-111-46/+46
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@733 2f5784b3-3f2a-0410-8824-cb99058d5e15
* PCRE_NO_START_OPTIMIZE, if given to pcre_compile(), did not suppress the ph102011-10-101-1/+1
| | | | | | | subject length check at run time. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@728 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Revert handling of atomic groups that do not include captures to the old way of ph102011-10-081-14/+97
| | | | | | | handling, thus reducing stack usage. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@723 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Comment correction and minor code improvement.ph102011-10-071-2/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@721 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Make (*THEN) work as in Perl in subpatterns that do not contain | alternatives.ph102011-10-041-64/+108
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@716 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bug with (*THEN) in a subroutine/recursion.ph102011-09-271-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@713 2f5784b3-3f2a-0410-8824-cb99058d5e15
* File tidies for 8.20-RC2 release.ph102011-09-231-19/+19
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@708 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Restore tail-recursion optimizations when no (*THEN) in pattern.ph102011-09-201-14/+45
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@702 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix *THEN in condition issue.ph102011-09-201-2/+15
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@699 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Final source and document tidies for 8.20-RC1.ph102011-09-111-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@691 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix loop/bad error when recursed group contains (*PRUNE) etc.ph102011-09-061-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@681 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Adjust JIT limit code; make JIT test return 1 if not successful.ph102011-08-281-2/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@677 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Commit all the changes for JIT support, but without any documentation yet.ph102011-08-221-40/+62
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@667 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Documentation and general text tidies in preparation for test release.ph102011-08-021-13/+13
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@654 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix partial match bug with /f.*/8s.ph102011-08-011-1/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@649 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bug that caused /.(*F)/ to give a partial match instead of no match.ph102011-08-011-4/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@648 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Pass *MARK name to calloutsph102011-07-311-2/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@645 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Avoid false positive for infinite recursion by not checking conditionals at ph102011-07-281-2/+15
| | | | | | | | compile time, but add tests at runtime that also catch infinite mutual recursion. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@642 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Make (*MARK) work in positive assertions.ph102011-07-221-1/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@630 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add the /= modifier to pcretest so as to be able to check unset capturing ph102011-07-201-1/+1
| | | | | | | parentheses at the ends of patterns. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@626 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Ensure unused capturing parentheses at the end of patterns are unset, because ph102011-07-201-185/+204
| | | | | | | this is documented. (A recent patch altered this.) git-svn-id: svn://vcs.exim.org/pcre/code/trunk@625 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix \X* bug when first character has the mark property. Also improve code for ph102011-07-191-117/+75
| | | | | | | property and script handling. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@623 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix capturing not happening in assertion conditions.ph102011-07-171-30/+11
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@619 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Re-do atomic group processing to fix backtrack capture bugs. Recursion is also ph102011-07-161-145/+136
| | | | | | | re-worked. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@618 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Small code and comment tidyph102011-07-121-10/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@617 2f5784b3-3f2a-0410-8824-cb99058d5e15
* A better patch for the atomic capturing not resetting bug.ph102011-07-111-86/+28
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@615 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix atomic group and assertion capturing problems.ph102011-07-091-2/+70
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@614 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix problem with the interaction of (*ACCEPT) in an assertion with ph102011-07-021-5/+11
| | | | | | | PCRE_NOTEMPTY. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@613 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fixed newly introduced bug for patterns like /(?:(b))++/, where the capturing ph102011-06-281-2/+3
| | | | | | | was happening, but not setting the correct return code. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@610 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bug with /\A.*?(?:a|b(*THEN)c)/ by removing the tail recursion optimization ph102011-06-151-41/+26
| | | | | | | for the final branch. Also fix a similar bug for conditional subpatterns. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@609 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix problems with capturing parens and *ACCEPT with recursion.ph102011-06-121-11/+13
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@608 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Tidy the API for _pcre_valid_utf8() to a more suitable form for a future public ph102011-06-061-11/+12
| | | | | | | release. Also make -s in pcretest force a study for every regex. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@606 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Refactoring to reduce stack usage for possessively quantified subpatterns. Also ph102011-06-021-189/+371
| | | | | | | | fixed a number of bugs related to repeated subpatterns. Some further tidies consequent on the removal of OP_OPT are also in this patch. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@604 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Remove OP_OPT by handling /i and /m entirely at compile time. Fixes bug with ph102011-05-251-168/+150
| | | | | | | patterns like /(?i:([^b]))(?1)/, where the /i option was mishandled. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@602 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix backup bug for \R with greedy quantifier.ph102011-05-091-3/+19
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@600 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Pass back detailed info when UTF-8 check fails at runtime.ph102011-05-071-6/+14
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@598 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Complete incomplete fix for UTF-8 caseless references of different lengths.ph102011-05-021-4/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@597 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix problems with caseless reference matching in UTF-8 mode when the ph102011-05-021-108/+119
| | | | | | | upper/lower case characters have different lengths. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@595 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Tidies of documenation and code while preparing for release.ph102010-11-241-8/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@579 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Added support for (*NO_START_OPT)ph102010-11-211-2/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@576 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add PCRE_ERROR_SHORTUTF8 to PCRE_PARTIAL_HARD processing.ph102010-11-071-3/+5
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@569 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Test for ridiculous values of starting offsets; tidy UTF-8 code.ph102010-11-061-6/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@567 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add casts needed for Visual Studio when NO_RECURSE is set.ph102010-10-311-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@563 2f5784b3-3f2a-0410-8824-cb99058d5e15