summaryrefslogtreecommitdiff
path: root/pcretest.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation and tidies preparatory to 8.37 release.ph102015-04-141-17/+17
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1548 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix pcretest loop for \K in lookbehind assertion.ph102015-04-071-3/+27
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1544 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fixed two pcretest crashes caused by mangled input (the fuzzers are at work).ph102015-02-201-12/+15
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1526 2f5784b3-3f2a-0410-8824-cb99058d5e15
* A better fix for the Posix with unknown modifier crash in pcretest.ph102015-02-031-3/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1516 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix pcretest crash with /g and zero-length ovector.ph102015-02-031-0/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1515 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Crash in pcretest after bad input.ph102015-02-031-1/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1514 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Preparations for next release.ph102014-03-041-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1459 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Implement pcre_stack_guard.ph102014-02-091-8/+63
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1454 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bug in tests when 16/32 bits and --enable-bsr-anycrlf are both set. Extend ph102014-01-171-3/+9
| | | | | | | pcretest to show the \R default. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1450 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Reword pcretest messages and clarify "first char" meaning.ph102014-01-031-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1433 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix pcretest's handling of patterns when \K in an assertion sets the start of aph102013-12-271-3/+18
| | | | | | | match past the end of the match. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1418 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Clarify handling of \s in documentation; fix VT in pcretest's built-in tables.ph102013-11-251-4/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1405 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Source tidies for 8.34-RC1.ph102013-11-191-34/+34
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1404 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Get rid of a compiler warning.ph102013-11-191-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1403 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Wrong modifier messages in pcretest to go to stdout; update which modifiers are ph102013-11-121-6/+5
| | | | | | | forbidden in Perl-compatible tests. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1399 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Rename the (as yet unreleased) PCRE_NO_AUTO_POSSESSIFY option to ph102013-11-121-4/+4
| | | | | | | PCRE_NO_AUTO_POSSESS - no need to be so long - and to match (*NO_AUTO_POSSESS). git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1398 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Implement compile-time nested parentheses limit, specified at build time.ph102013-11-051-0/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1389 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add a simple tripwire to pcretest to lock out certain modifiers.ph102013-11-051-19/+93
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1388 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Further auto-possessification patch.ph102013-10-121-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1374 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add \o{} and tidy up \x{} handling. Minor update to RunTest.ph102013-10-091-0/+17
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1370 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Refactored auto-possessification code.ph102013-10-011-2/+7
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1363 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Refactor the code for creating the name/number table.ph102013-09-031-19/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1359 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add -T and -TM to pcretest.ph102013-08-271-5/+30
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1357 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Implement PCRE_INFO_MATCH_EMPTY and fix 2 bugs concerned with scanning for ph102013-07-051-3/+5
| | | | | | | empty string matching. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1348 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Get rid of some "statement not reached" and a "possibly uninitialized" compiler ph102013-07-021-1/+1
| | | | | | | warnings. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1346 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Small performance improvement in strlen16 and strlen32 in pcretest.ph102013-07-021-6/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1345 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Final source file tidies for 8.33 release.ph102013-05-281-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1335 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix segfault when pcre_dfa_exec() is called with an output vector of length ph102013-05-151-1/+1
| | | | | | | less than 2. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1334 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix pcretest crash with a data line longer than 65536 bytes.ph102013-05-101-5/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1327 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix spelling mistakes in comments.ph102013-05-101-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1325 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Source tidies (trails spaces, html updates) for 8.33-RC1.ph102013-05-011-9/+9
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1320 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Code (but not yet documentation) for *LIMIT_MATCH and *LIMIT_RECURSION.ph102013-04-241-14/+31
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1313 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Implement PCRE_NEVER_UTFph102013-04-051-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1309 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcretest: Fix UTF-16 surrogate printing in test outputchpe2013-02-271-1/+1
| | | | | | 0xDFFF is a valid low surrogate value. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1263 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Correct Unicode string checking in the light of corrigendum #9.ph102013-02-271-16/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1261 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Added some #ifdef __VMS code to pcretest.c.ph102013-02-221-6/+28
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1254 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Pass back the bumpalong value for partial matches.ph102013-02-201-4/+7
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1251 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix various save/revert cases for capture_last in recursion and also don't ph102013-02-131-2/+4
| | | | | | | diagnose overflow when it has reverted. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1248 2f5784b3-3f2a-0410-8824-cb99058d5e15
* File tidies, preparing for 8.32-RC1.ph102012-11-111-7/+7
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1221 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix pcretest -C pcre8/pcre16 bug.ph102012-11-071-0/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1211 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Lose compiler warnings.ph102012-11-041-0/+7
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1202 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Temporarily remove 32-bit maskingchpe2012-11-031-23/+1
| | | | | | | Remove the masking via the PCRE_NO_UTF32_CHECK. It will be reintroduced as a dedicated runtime option later, with support for JIT and non-JIT cases. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1200 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcretest was not diagnosing characters > 0x7fffffff in 8-bit mode.ph102012-10-301-0/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1190 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add PCRE_ERROR_BADLENGTH for a negative length.ph102012-10-301-1/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1189 2f5784b3-3f2a-0410-8824-cb99058d5e15
* JIT native interface.zherczeg2012-10-291-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1187 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Include character values in error messages for invalid conversions to 16 and 32 ph102012-10-231-4/+4
| | | | | | | bit strings. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1164 2f5784b3-3f2a-0410-8824-cb99058d5e15
* valgrind: pcretest: Mark data buffer as unaddressable after the end of the datachpe2012-10-211-3/+22
| | | | | | | | | | The data buffer is (usually) bigger than the actual data processed. This patch explicitly marks the excess buffer as unaddressable, so that running under valgrind will signal invalid memory accesses to it. This seems a better solution than memmove'ing the data to the end of the buffer to use the allocated memory region as the valgrind marker. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1153 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix byte order issue when the result of badmode is shown.zherczeg2012-10-211-2/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1150 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix bugs in pcretest when different combinations of 8-, 16-, and 32-bit ph102012-10-191-40/+26
| | | | | | | | libraries were compiled. For example, test 2 segfaulted when only 16- and 32-bit libraries were compiled. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1142 2f5784b3-3f2a-0410-8824-cb99058d5e15
* I found a neater way of defining the macros in the case where 2 out of 3 modes ph102012-10-191-383/+105
| | | | | | | are compiled. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1140 2f5784b3-3f2a-0410-8824-cb99058d5e15