Commit Graph

120 Commits

Author SHA1 Message Date
Philip.Hazel 69c9d81e43 Update pcre2test with the /utf8_input option, for generating wide characters in
non-UTF 16-bit and 32-bit modes.
2016-08-03 09:01:02 +00:00
Philip.Hazel 5b6c797a4d Final file tidies for 10.22. 2016-07-29 08:47:39 +00:00
Philip.Hazel 6a5acedf08 Ignore "allcaptures" after DFA matching. 2016-07-06 15:02:24 +00:00
Philip.Hazel 0a29ecbe02 Return an error code when pcre2_get_error_message() does not recognize an error
code, and add a pcre2test facility for testing this.
2016-06-17 11:30:27 +00:00
Philip.Hazel d243224a60 Implement PCRE2_NO_JIT, update HTML docs as well. 2016-06-05 16:05:34 +00:00
Philip.Hazel 96926349bc Implemented pcre2_code_copy(). 2016-02-26 18:26:17 +00:00
Philip.Hazel 78aff8c80f Fix pcre2test loop when a callout is in an initial lookbehind. 2016-02-06 16:40:59 +00:00
Philip.Hazel 6c1c817438 Don't set PCRE2_NO_AUTO_CAPTURE when REG_NOSUB is passed to regcomp(). 2016-01-31 19:14:15 +00:00
Philip.Hazel 8febd27344 Two pcre2test extensions: quoted literal substrings in hex patterns and
detection of unsupported binary zeros in file input.
2016-01-29 18:16:59 +00:00
Philip.Hazel dffd559601 File tidies, version updates, etc. for 10.21-RC1 2015-12-17 18:44:06 +00:00
Philip.Hazel 35e0f55783 Implement PCRE2_SUBSTITUTE_{OVERFLOW_LENGTH,UNKNOWN_UNSET}. 2015-12-12 18:45:40 +00:00
Philip.Hazel 2f684a60ed Implement PCRE2_SUBSTITUTE_UNSET_EMPTY. 2015-12-04 18:39:08 +00:00
Philip.Hazel c7e9887a65 Make startoffset a synonym of offset in pcre2test. 2015-11-21 16:10:24 +00:00
Philip.Hazel 7c429c593c Documentation improvement. 2015-11-14 17:08:03 +00:00
Philip.Hazel b7ee0684e3 Implement pcre2_set_max_pattern_length() 2015-11-05 17:33:39 +00:00
Philip.Hazel a15528e565 Document regerror_buffsize feature added to pcre2test. 2015-10-30 18:30:43 +00:00
Philip.Hazel 4ce7652a0e Add replication feature for patterns to pcre2test. 2015-10-30 15:20:07 +00:00
Philip.Hazel 3263d44b97 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
Philip.Hazel 0c70fb3013 Add null_context to pcre2test for testing NULL contexts. 2015-09-23 11:49:03 +00:00
Philip.Hazel c70450d08b Documentation for offset limits. 2015-09-22 16:51:11 +00:00
Philip.Hazel 36db5a4d5f Implement comment lines in subject strings in pcre2test (and perltest.sh) input files. 2015-09-14 15:10:19 +00:00
Philip.Hazel 06477b27af Expand documentation about JIT compilation. 2015-09-12 18:10:57 +00:00
Philip.Hazel bb68c64c40 Implement #newline_default and adjust testdata and scripts to use it. 2015-09-08 17:01:17 +00:00
Philip.Hazel 6119920f26 Clarify semantics of the POSIX wrapper. 2015-09-03 15:53:14 +00:00
Philip.Hazel d2e87a75af Implemented PCRE2_ALT_VERBNAMES 2015-08-30 17:47:36 +00:00
Philip.Hazel fd08e11c1e Fix pcre2test splitting modifier lists at white space. 2015-08-30 14:11:15 +00:00
Philip.Hazel 07a8fdce25 Source and document file tidies for 10.20-RC1. 2015-06-18 16:39:25 +00:00
Philip.Hazel 9ce0207f5c Make pcre2test give an error for \P, \p, and \X after #forbid_utf. 2015-05-20 17:44:17 +00:00
Philip.Hazel d1a13b8e2e Implement PCRE2_ALT_CIRCUMFLEX. 2015-04-22 17:39:25 +00:00
Philip.Hazel e47a6ebe87 Implement PCRE2_NEVER_BACKSLASH_C. 2015-04-13 17:29:05 +00:00
Philip.Hazel 4e61019ffe Implement pcre2_callout_enumerate(). 2015-03-23 15:52:08 +00:00
Philip.Hazel aa8d7342da Test binary zero in callout strings; change offset to PCRE2_SIZE; some
documentation tidies.
2015-03-16 15:38:26 +00:00
Philip.Hazel 2ec7cbf9b5 Documentation for callouts with string arguments. 2015-03-15 17:49:03 +00:00
Philip.Hazel 5438fc8a6a Add serialization functions and tests with updated pcre2test. Fix
PCRE2_INFO_SIZE issues.
2015-01-23 16:51:47 +00:00
Philip.Hazel 5a18651441 Add PCRE2_NO_DOTSTAR_ANCHOR and revise documentation for .* optimizing. 2015-01-02 17:09:16 +00:00
Philip.Hazel 0acc416ed1 Final preparations for 10.00-RC1 2014-11-24 15:31:28 +00:00
Philip.Hazel 91f2e97474 More documentation and test updates. 2014-11-23 18:38:38 +00:00
Philip.Hazel 78b9e3d078 More documentation edits. 2014-11-17 16:59:02 +00:00
Philip.Hazel 07f8372202 Further substitution tests (code and data), and more documentation. 2014-11-14 18:41:20 +00:00
Philip.Hazel adc7be2d3a Get rid of remaining FIXMEs in the code; implement JIT compile timing. 2014-11-12 17:46:02 +00:00
Philip.Hazel c19bd9a377 Substitution tests and documentation. 2014-11-12 16:57:56 +00:00
Philip.Hazel b3ac0ffb32 Substitute code update and documentation. 2014-11-11 16:51:07 +00:00
Philip.Hazel f1c6ee730a Code for pcre2_substitute(), and tests. 2014-11-11 10:19:23 +00:00
Philip.Hazel 08e3107cbe Changed jit_stack_alloc to jit_stack_create. 2014-11-03 17:13:00 +00:00
Philip.Hazel dea68c01fb Add tests for JIT fast path. 2014-11-02 15:34:31 +00:00
Philip.Hazel a15a4de10b Recognize '-' as standard input in pcre2test. 2014-10-31 15:57:47 +00:00
Philip.Hazel 8aa511a98b Improve test coverage; minor typo in JIT test and other minor buglets fixed. 2014-10-31 12:34:34 +00:00
Philip.Hazel c3799e750f Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
Philip.Hazel eb59159ce0 Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
Philip.Hazel 722817013c Fix several bugs concerned with different configurations. 2014-10-15 15:57:49 +00:00
Philip.Hazel b6e793f343 The tests all run clean with JIT. 2014-10-11 15:56:25 +00:00
Philip.Hazel 62d728bb0b Remove leftchar/rightchar from the public API. 2014-10-10 11:55:28 +00:00
Philip.Hazel 4bdfd990af Impose a minimum of 1 for the number of pairs in the ovector. 2014-10-05 17:55:25 +00:00
Philip.Hazel e036c5fba0 Remove the ability to change newlines and \R at match time. 2014-10-01 17:02:33 +00:00
Philip.Hazel a0410efc56 Make PCRE2_NO_START_OPTIMIZE a compile-only option. 2014-10-01 16:16:27 +00:00
Philip.Hazel d5495a30f4 Documentation scripts 2014-09-23 11:35:51 +00:00
Philip.Hazel eee8530add API documentation and a lot of little related changes to the code. 2014-09-19 07:43:39 +00:00
Philip.Hazel ac70cacd29 Implement the "rightchar" feature of match data. 2014-08-19 17:07:22 +00:00
Philip.Hazel d631f4025c Remove save/load from pcre2test, as they will not be implemented just yet (if
at all).
2014-08-12 17:41:11 +00:00
Philip.Hazel 896e6051ab Abolish 'D' abbrevation for 'debug'. 2014-08-07 16:57:28 +00:00
Philip.Hazel e022475d54 All tests except JIT and save/reload are implemented. 2014-08-05 16:51:32 +00:00
Philip.Hazel e2076960d4 Changes to pcre2test single-letter modifiers. 2014-08-03 18:15:32 +00:00
Philip.Hazel 017b6a1624 Tests 1 and 2 are converted (but without save/restore). 2014-07-24 16:32:38 +00:00
Philip.Hazel 3d0229c097 Add -dfa command line option to pcre2test. 2014-07-05 16:02:10 +00:00
Philip.Hazel f7377a58bb Runtime memory testing and finding match limits are working. 2014-06-30 17:01:40 +00:00
Philip.Hazel 04abdb7105 Callout testing in pcre2test is now working. 2014-06-30 10:56:11 +00:00
Philip.Hazel 4739ccde40 Allow \R and newline handling to be specified at match time (as for PCRE1). 2014-06-24 09:51:58 +00:00
Philip.Hazel 1abd5a7f8d Basic pcre2_compile() is working (no study, no auto-possess yet). 2014-06-14 18:29:51 +00:00
Philip.Hazel 1b4bcb79ae Got pcre2test as far as it can go without real compile and match functions. 2014-05-20 18:48:43 +00:00
Philip.Hazel d455d11b62 Preliminary documentation for pcre2test. 2014-05-18 16:33:18 +00:00