Commit Graph

81 Commits

Author SHA1 Message Date
Philip.Hazel c9ac9e23ec Refactor named group handling by adding a pre-pass that generates a list of
named groups with their numbers before the rest of the compiling code is run. 
This has simplified the main compiling code and removed some sources of error.
2015-06-03 16:27:47 +00:00
Philip.Hazel 3e1748390b Fix very slow find_minlength when mutual recursion is present. 2015-04-13 09:13:39 +00:00
Philip.Hazel 49a7eada2d Final source file tidies for 10.10-RC1 2015-02-20 11:20:40 +00:00
Philip.Hazel 9059444834 Fix alignement problem in deserialization on 64-bit SPARC. 2015-02-07 16:22:48 +00:00
Philip.Hazel 0011aaa712 Disallow quantification of assertion conditions, for Perl compatibility (and in
any case it didn't always work).
2015-01-28 17:31:11 +00:00
Philip.Hazel 911b800984 Fix incorrect size calculation when a reference to a duplicate name occurs
in a part of the pattern where PCRE2_DUPNAMES is not set.
2015-01-27 17:21:32 +00:00
Philip.Hazel 2a5767d757 File tidies for 10.00-RC2. 2014-12-19 09:55:25 +00:00
Philip.Hazel cb8865d247 Update and improve substring handling and its documentation. 2014-12-14 17:17:06 +00:00
Philip.Hazel 9fcdf2cc6f Add user data to recursion guard; get ready for RC1 (again) 2014-11-26 16:51:53 +00:00
Philip.Hazel 312375057b Change callouts to pass the user data as a separate argument. 2014-11-25 17:35:01 +00:00
Zoltán Herczeg 94c0deddd3 Remove pcre2_jit_stack argument from jit_match. 2014-11-07 12:12:52 +00:00
Zoltán Herczeg 7d9caa5b41 The pcre2_jit_stack_assign is changed to use the matching context. 2014-11-06 14:37:09 +00:00
Philip.Hazel c3799e750f Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
Philip.Hazel 722817013c Fix several bugs concerned with different configurations. 2014-10-15 15:57:49 +00:00
Philip.Hazel e036c5fba0 Remove the ability to change newlines and \R at match time. 2014-10-01 17:02:33 +00:00
Zoltán Herczeg 4fda5bba36 PCRE2 successfully compiles with --enable-jit now. 2014-09-30 07:06:48 +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 ac8cbf8d6a Keep recursion ovecsave blocks on a chain and re-use them. 2014-08-16 15:10:42 +00:00
Philip.Hazel 7efba85b56 Change lengths to PCRE2_SIZE and revise OP_RECURSE processing. 2014-08-16 09:46:58 +00:00
Philip.Hazel 415cf1a40e Tidy some comments; change several PCRE2_INFO fields to uint32_t instead of
int.
2014-08-15 09:55:18 +00:00
Philip.Hazel 8397209c5b Specifying that the pcre2_memctl block must be at the start of all relevant
blocks simplifies the code.
2014-08-15 09:19:04 +00:00
Philip.Hazel b6b9087081 Multi-config tests (without JIT) now work. 2014-08-10 16:09:24 +00:00
Philip.Hazel cfea40d7b5 DFA matching is starting to work. 2014-07-05 11:09:59 +00:00
Philip.Hazel 0188214a63 Compiling with --disalbe-stack-for-recursion is working. Introduce PCRE2_OFFSET
for offset values.
2014-07-04 16:26:09 +00:00
Philip.Hazel 38b570f99d The pcre2_match() function's basic facilities are working (though hardly
tested).
2014-06-28 14:23:18 +00:00
Philip.Hazel 06aa11b428 Miscellanous name tidies. 2014-06-24 15:47:33 +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 2a1dc104ed Abolish pcre2_version(); add PCRE2_CONFIG_VERSION. 2014-06-23 16:41:29 +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 225992aa3a Further work on pcre2test (can now display compiled code). 2014-05-13 11:20:03 +00:00