Commit Graph

332 Commits

Author SHA1 Message Date
Philip.Hazel 663662806a Documentation update 2018-09-04 17:01:28 +00:00
Philip.Hazel 50f0de6015 Lock out \N{U+hhhh} in non-UTF (non-Unicode) modes. 2018-09-02 16:03:27 +00:00
Philip.Hazel 392974a0cb File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00
Philip.Hazel c722bf2399 Documentation update. 2018-08-03 16:56:54 +00:00
Philip.Hazel b196143523 Make /x more Perl-compatible by recognizing all of Unicode's "Pattern White
Space" characters, not just the ASCII ones.
2018-08-03 09:38:36 +00:00
Philip.Hazel 6e245572b8 Add support for (?^) as now supported by Perl. 2018-07-28 16:23:24 +00:00
Philip.Hazel 27337495dc Documentation update regarding \Q handling. 2018-07-28 15:08:22 +00:00
Philip.Hazel a9453f096f Give specific error for \F as for \L, \U etc. 2018-07-27 16:55:52 +00:00
Philip.Hazel e9aa3c0a21 Add support for \N{U+dd...}, for ASCII and Unicode modes only. 2018-07-27 16:30:40 +00:00
Philip.Hazel 192b82cf6e Allow :NAME on (*ACCEPT), (*FAIL), and (*COMMIT) and fix bug with (*MARK)
followed by (*ACCEPT) in an assertion. More small updates to perltest.sh.
2018-07-21 14:34:51 +00:00
Philip.Hazel 635d04fbb7 Upgrade perltest.sh to support (some) #pattern modifiers. 2018-07-17 16:00:09 +00:00
Philip.Hazel 455ce731dc Documentation update. 2018-07-16 16:09:34 +00:00
Philip.Hazel 7db5904b9f Documentation and tests update and minor tweak to perltest.sh. 2018-07-12 17:04:43 +00:00
Philip.Hazel 9bd1f3030e Documentation update. 2018-07-11 10:06:51 +00:00
Philip.Hazel 614e144f6b Fix typo. 2018-07-11 09:48:32 +00:00
Philip.Hazel b053ad9343 Documentation update. 2018-07-10 16:51:30 +00:00
Philip.Hazel 937617f343 Update to Unicode 11.0.0 2018-07-07 16:10:29 +00:00
Philip.Hazel 1c79bdf36f Fix global search/replace in pcre2test and pcre2_substitute() when the pattern
matches an empty string, but never at the starting offset.
2018-07-02 10:54:03 +00:00
Philip.Hazel 462f25d7d3 Documentation update. 2018-06-30 15:56:26 +00:00
Philip.Hazel 4d2eef1ed3 Fix typo. 2018-06-30 13:13:47 +00:00
Philip.Hazel b87a1b5e31 Documentation update. 2018-06-28 16:56:56 +00:00
Philip.Hazel 5a45a0712a Documentation update for NULL arguments. 2018-06-28 16:26:03 +00:00
Philip.Hazel 7e921fda05 Documentation update to clarify what PCRE2 serialization is. 2018-06-27 17:20:58 +00:00
Philip.Hazel 89c2a02027 Fix bug when \K is used in a lookbehind in a substitute pattern. 2018-06-22 16:29:56 +00:00
Philip.Hazel 8af671a36d Documentation update. 2018-06-18 16:49:12 +00:00
Philip.Hazel e75410a5d8 More typos and changes to "Kibibytes" for "Kilobytes". 2018-06-18 14:03:33 +00:00
Philip.Hazel fabea723cf Typos in documentation and comments noted by Jason Hood. 2018-06-17 14:13:28 +00:00
Philip.Hazel 75747ebb11 Re-factor pcre2_dfa_match() to use the heap instead of the stack for workspace
vectors when doing recursive function calls.
2018-04-27 16:48:35 +00:00
Philip.Hazel b0fb99a952 Documentation update. 2018-03-04 15:30:46 +00:00
Philip.Hazel 3236d6868c Update HTML and derived documentation. 2018-02-25 18:00:56 +00:00
Philip.Hazel e5b34b3555 Add --enable-jit=auto support. 2018-02-25 18:00:29 +00:00
Philip.Hazel 04919e9d03 Add support to pcre2grep for binary zeros in -f files. 2018-02-24 17:09:19 +00:00
Philip.Hazel 958cd1484f Source tidies and version etc. updates for 10.31-RC1. 2018-01-13 16:53:02 +00:00
Philip.Hazel 800d884bce Documentation update. 2017-12-31 17:44:12 +00:00
Philip.Hazel 07de1b1a9f Documentation update. 2017-12-24 10:27:13 +00:00
Philip.Hazel 94d5f4a050 Add callout_flags to callout blocks, and set bits within it from pcre2_match()
interpretation.
2017-12-22 15:56:27 +00:00
Philip.Hazel 814cc96bc5 Save extra compile options with the compiled pattern, and add an info call to
retrieve them.
2017-12-16 17:49:26 +00:00
Philip.Hazel 271227fd32 Documentation update. 2017-11-14 15:32:53 +00:00
Philip.Hazel 8e0fd73891 Documentation update. 2017-11-14 15:29:48 +00:00
Philip.Hazel 2543ba81f7 Fix crash for --line-buffered with a .gz or .bz2 file in pcre2grep. 2017-11-13 17:12:55 +00:00
Philip.Hazel 76e1ce08a6 Documentation update. 2017-10-23 16:57:22 +00:00
Philip.Hazel 71d0ee75d2 Derived documentation update. 2017-10-17 16:26:40 +00:00
Philip.Hazel cc2182261a Add -LM to pcre2test. 2017-10-17 16:26:20 +00:00
Philip.Hazel 89a834b75e Documentation update. 2017-10-13 16:26:24 +00:00
Philip.Hazel 40582cf377 Documentation update. 2017-10-11 16:54:22 +00:00
Philip.Hazel 14edec2ad7 Fix typos in documentation. 2017-09-25 15:05:29 +00:00
Philip.Hazel 897d547046 Define names for compiler error codes and use them in pcre2_convert.c 2017-09-17 16:56:41 +00:00
Philip.Hazel 4ac74a013b Add PCRE2_CONFIG_COMPILED_WIDTHS and PCRE2_CONFIG_NEVER_BACKSLASH_C. 2017-09-16 11:39:38 +00:00
Philip.Hazel badfbcdd12 Documentation update. 2017-09-12 11:41:31 +00:00
Philip.Hazel 94cb52befb Final file tidies for 10.30 release. 2017-08-15 10:58:32 +00:00
Philip.Hazel 4d82a61d47 Hyphen at the end of a character class is always literal. Give error for false
range after \d etc.
2017-07-29 15:54:04 +00:00
Philip.Hazel 810d9b6da5 Code tidies for 10.30-RC1 release candidate. 2017-07-19 16:04:15 +00:00
Philip.Hazel a23715d7b1 Document experimental pattern conversion functions and remove unimplemented
features.
2017-07-12 16:34:49 +00:00
Philip.Hazel 4f7a608d56 Update grapheme breaking rules for Unicode 10.0.0. 2017-07-05 08:55:49 +00:00
Philip.Hazel 41bb787fb3 Update to Unicode 10.0.0 and add callout_no_where to pcre2test to aid testing. 2017-07-02 16:32:01 +00:00
Philip.Hazel 4f37764ece Document configuration for SELinux execmem allocator and fix CMake usage. 2017-06-17 15:36:22 +00:00
Philip.Hazel b8a935f35e Documentation update. 2017-06-17 11:40:17 +00:00
Philip.Hazel 76a57bd839 Convert pcre2grep to use new pcre2_compile() options, thereby fixing two minor
(?) bugs.
2017-06-17 11:32:06 +00:00
Philip.Hazel c92bfc3d21 Documentation update. 2017-06-16 17:57:18 +00:00
Philip.Hazel a083420cac Implement PCRE2_EXTRA_MATCH_LINE and PCRE2_EXTRA_MATCH_WORD for the benefit
of pcre2grep.
2017-06-16 17:51:13 +00:00
Philip.Hazel c4fac10bad Implement PCRE2_LITERAL and REG_NOSPEC. 2017-06-15 16:41:44 +00:00
Philip.Hazel 6e30ed1b40 Add subject_literal and allow jitstack in pcre2test pattern modifiers, and add
another big pattern test.
2017-06-12 17:48:03 +00:00
Philip.Hazel 42549d089b Documentation update. 2017-06-06 11:32:25 +00:00
Philip.Hazel bcba497c0b Implement REG_PEND (GNU extension) for the POSIX wrapper. 2017-06-05 18:25:47 +00:00
Philip.Hazel e4c86e2ced Fix matching offsets from regexec() in the POSIX wrapper when called with
REG_STARTEND and a starting offset greater than zero.
2017-06-03 16:42:58 +00:00
Philip.Hazel e3a0f22349 Implement PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL. 2017-06-01 18:10:15 +00:00
Philip.Hazel c0902e176f Make pcre2_dfa_match() take notice of the match limit, to catch patterns that
use too much resource. This should fix oss-fuzz 1761.
2017-05-30 10:42:57 +00:00
Philip.Hazel 3d80fa4fc2 Implement PCRE2_NEWLINE_NUL. 2017-05-26 17:14:36 +00:00
Philip.Hazel dfc9712bcd Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES. 2017-05-17 17:55:11 +00:00
Philip.Hazel b59f00fa14 Documentation update. 2017-04-20 16:34:35 +00:00
Philip.Hazel 369d82e03a Implement Perl's /n option, which is the same as PCRE2_NO_AUTO_CAPTURE. 2017-04-18 16:21:50 +00:00
Philip.Hazel 3dca43fdff Implement PCRE2_EXTENDED_MORE and friends. 2017-04-18 12:32:52 +00:00
Philip.Hazel 2b2074c915 Documentation update. 2017-04-17 15:39:09 +00:00
Philip.Hazel 79bbc574a0 Documentation update. 2017-04-17 15:24:41 +00:00
Philip.Hazel 87094fac10 Documentation update. 2017-04-14 12:55:45 +00:00
Philip.Hazel 106028089e Ensure ovector[0,1] are both PCRE2_UNSET during callouts. 2017-04-14 12:39:41 +00:00
Philip.Hazel 3b8672bf49 Fix ACCEPT issue with ENDANCHORED. 2017-04-11 14:53:26 +00:00
Philip.Hazel 14989bd454 Add explicit heap limiting options to pcre2_match(), with associated features
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
Philip.Hazel f0126dc7ae Add -jitverify to pcre2test. 2017-04-08 15:35:27 +00:00
Philip.Hazel 7afe4e4110 Documentation tidies and code tidies for Windows. 2017-04-08 15:21:39 +00:00
Philip.Hazel 88abc14e42 Jason Hood's pcre2grep patches (modified a bit) to add --output to pcre2grep,
and also an inbuilt callout echo.
2017-04-06 18:02:40 +00:00
Philip.Hazel a3275d1e0f Implement PCRE2_ENDANCHORED. 2017-04-04 17:09:33 +00:00
Philip.Hazel 7c32d955a1 Documentation update 2017-04-03 18:01:07 +00:00
Philip.Hazel 7be3fef0ea Documentation update. 2017-04-03 18:00:37 +00:00
Philip.Hazel 0bf17d9974 Remove references to the now-deleted pcre2stack man page. 2017-04-01 09:38:58 +00:00
Philip.Hazel 0c929b63ad Documentation update. 2017-03-31 17:06:43 +00:00
Philip.Hazel ed9f34b06b Documentation update 2017-03-31 16:49:33 +00:00
Philip.Hazel f7e077c746 Documentation update. 2017-03-30 17:43:50 +00:00
Philip.Hazel 424bba4d15 Documentation update. 2017-03-29 18:10:55 +00:00
Philip.Hazel 7fe5e441ff Documentation update. 2017-03-29 17:18:08 +00:00
Philip.Hazel 6c7fa44939 Documentation update. 2017-03-28 16:34:29 +00:00
Philip.Hazel 95888402a0 Documentation update. 2017-03-26 15:44:09 +00:00
Philip.Hazel f17eb554bf Documentation update. 2017-03-25 17:50:54 +00:00
Philip.Hazel 08543d4a74 Improvements to the \=memory modifier in pcre2test. 2017-03-25 17:08:20 +00:00
Philip.Hazel 935183d2d5 Documentation update 2017-03-25 11:52:22 +00:00
Philip.Hazel 13c416a9b1 Documentation update. 2017-03-24 18:35:42 +00:00
Philip.Hazel 5c1984d94a Make \=find_limits apply to DFA matching, to find the minimum depth limit. 2017-03-24 18:20:34 +00:00
Philip.Hazel 3aeb812180 Documentation update. 2017-03-24 16:53:38 +00:00
Philip.Hazel 32bab50c01 Documentation update. 2017-03-23 19:24:16 +00:00
Philip.Hazel cde5f12cee Fix 32-bit error buffer size bug in pcre2test (Bugzilla 2079). 2017-03-21 17:46:21 +00:00