Commit Graph

923 Commits

Author SHA1 Message Date
ph10
d9184094b4 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
ph10
153170b59d Minor code tidy. 2018-04-21 16:43:49 +00:00
ph10
b62b6516a6 Apply some of Daniel Richard G's Windows patches. 2018-04-19 16:52:57 +00:00
zherczeg
2dd38ba9af MIPS-JIT compiler fix: flags were not preserved for fast return. 2018-03-19 08:15:52 +00:00
zherczeg
54fd548043 JIT compiler update. 2018-03-13 12:05:48 +00:00
ph10
57d8334646 Documentation update. 2018-03-04 15:30:46 +00:00
ph10
5404bf3db4 Set error offset zero for early errors in pcre2_pattern_convert(). 2018-03-04 15:13:37 +00:00
ph10
a7bd0e6feb Minor tweak to the m68k patch. 2018-02-28 09:03:12 +00:00
ph10
9c82a2af0f Add alignment patch for m68k. 2018-02-27 17:19:51 +00:00
ph10
fb18c811ca Update HTML and derived documentation. 2018-02-25 18:00:56 +00:00
ph10
b4212ed31c Add --enable-jit=auto support. 2018-02-25 18:00:29 +00:00
ph10
d9ba233d73 A small fix to pcre2grep to avoid compiler warnings for -Wformat-overflow=2. 2018-02-25 12:12:48 +00:00
ph10
ef624f64b2 Add support to pcre2grep for binary zeros in -f files. 2018-02-24 17:09:19 +00:00
ph10
78190be4f1 Add another test. 2018-02-20 15:37:49 +00:00
ph10
3d534407ff Fix \C bug with repeated character classes in UTF-8 mode. 2018-02-19 17:26:33 +00:00
ph10
046527f90c Oops, forgot about "-C bsr" in previous patch. 2018-02-19 17:00:45 +00:00
ph10
c9bec6d0eb Fix pcre2test -C to correctly show what \R matches. 2018-02-19 16:55:47 +00:00
ph10
97ead62f64 Fix the value passed back for POSIX unset groups when REG_STARTEND has a
non-zero starting offset, and make pcre2test show relevant POSIX unset groups.
2018-02-19 14:49:42 +00:00
ph10
95348f719d Final file tidies for 10.31 2018-02-12 11:33:56 +00:00
ph10
52291406c9 Fix auto-possessification bug at the end of a capturing group that is called
recursively.
2018-01-31 17:53:56 +00:00
ph10
0cf324c4dc Increment dummy ovector size in internal structures to avoid spurious array
bound checker warnings. This fixes oss-fuzz 5415.
2018-01-16 16:50:40 +00:00
ph10
0aa7a0a276 Source tidies and version etc. updates for 10.31-RC1. 2018-01-13 16:53:02 +00:00
ph10
aaba4ba7de Avoid pointer overflow for unset captures in pcre2_substring_list_get(), though
it could never have caused a problem.
2018-01-12 18:48:27 +00:00
ph10
6ad7ab5904 Fix problem when compiling without Unicode support. 2018-01-12 17:55:47 +00:00
zherczeg
6b6630fc34 Fix a typo in JIT and add a test. 2018-01-10 09:28:03 +00:00
zherczeg
0554b42fea Update some register assignments and the JIT compiler. 2018-01-09 08:38:32 +00:00
zherczeg
f45ea0dafd Support the new EXTUNI in JIT. 2018-01-06 08:48:11 +00:00
zherczeg
863b5b8e00 JIT compiler update. 2018-01-05 09:30:45 +00:00
ph10
8e62158cf1 Documentation update. 2018-01-01 17:27:55 +00:00
ph10
435e896a14 Tidy ACROSSCHAR macro to take same form as FORWARDCHAR and BACKCHAR. 2018-01-01 15:13:24 +00:00
ph10
3a18bdb690 Small tidy to start of match optimizations. 2018-01-01 15:05:27 +00:00
ph10
ed8d9a2229 Previous FIRSTLINE patch was broken. Fix it. 2018-01-01 14:54:06 +00:00
ph10
86e64b7a75 Fix PCRE2_FIRSTLINE bug when a pattern match starts with the first code unit of
a newline sequence.
2018-01-01 14:12:35 +00:00
ph10
fd410b8357 Documentation update. 2017-12-31 17:44:12 +00:00
ph10
b825e3ac54 Tidy up callout code in pcre2_dfa_match(). 2017-12-26 16:43:45 +00:00
ph10
c5da71a570 Fix \K issues in pcre2grep. 2017-12-26 15:10:04 +00:00
ph10
7922d6f916 Documentation update. 2017-12-24 10:27:13 +00:00
ph10
2432890a62 Update pcre2demo to deal with various \K inside assertion anomalies. 2017-12-23 17:15:51 +00:00
ph10
0daff9cd73 Add callout_flags to callout blocks, and set bits within it from pcre2_match()
interpretation.
2017-12-22 15:56:27 +00:00
ph10
fd04d60d52 Save extra compile options with the compiled pattern, and add an info call to
retrieve them.
2017-12-16 17:49:26 +00:00
ph10
88f7ec204f Rejig how callout blocks are allocated in pcre2_match(). 2017-12-16 16:43:47 +00:00
ph10
3d30c8c736 A small code tidy for one error return. 2017-12-16 16:07:29 +00:00
ph10
56b1df98cb Fix infelicity in not finding a first character inside a non-assertive group
within a positive assertion.
2017-12-12 16:23:01 +00:00
ph10
dc7abe120d Fix incorrect first matching character when a backreference with zero minimum
repeat starts a pattern (possibly after assertions).
2017-12-12 15:01:51 +00:00
ph10
ca18424fb3 Change pcre2grep line number and count variables to unsigned long int. 2017-12-08 10:25:49 +00:00
zherczeg
c3d432ceae Fix after JIT compiler update. 2017-11-30 08:15:28 +00:00
zherczeg
90dd86379b JIT compiler update. 2017-11-29 13:30:31 +00:00
zherczeg
f374ff2cc7 Fix pcre2_jit_match early check. 2017-11-23 07:54:39 +00:00
ph10
68a0282d58 Very minor code tidy. 2017-11-16 17:44:50 +00:00
ph10
21a648015f Documentation update. 2017-11-14 15:32:53 +00:00