| 46 |
|
|
| 47 |
11. JIT should use pcre_malloc/pcre_free for allocation. |
11. JIT should use pcre_malloc/pcre_free for allocation. |
| 48 |
|
|
| 49 |
|
12. Updated pcre-config so that it no longer shows -L/usr/lib, which seems |
| 50 |
|
best practice nowadays, and helps with cross-compiling. (If the exec_prefix |
| 51 |
|
is anything other than /usr, -L is still shown). |
| 52 |
|
|
| 53 |
|
13. In non-UTF-8 mode, \C is now supported in lookbehinds and DFA matching. |
| 54 |
|
|
| 55 |
|
14. Perl does not support \N without a following name in a [] class; PCRE now |
| 56 |
|
also gives an error. |
| 57 |
|
|
| 58 |
|
15. If a forward reference was repeated with an upper limit of around 2000, |
| 59 |
|
it caused the error "internal error: overran compiling workspace". This |
| 60 |
|
is now checked, and causes "too many forward references" instead. |
| 61 |
|
|
| 62 |
|
16. A repeated forward reference in a pattern such as (a)(?2){2}(.) was |
| 63 |
|
incorrectly expecting the subject to contain another "a" after the start. |
| 64 |
|
|
| 65 |
|
17. When (*SKIP:name) is activated without a corresponding (*MARK:name) earlier |
| 66 |
|
in the match, the SKIP should be ignored. This was not happening; instead |
| 67 |
|
the SKIP was being treated as NOMATCH. For patterns such as |
| 68 |
|
/A(*MARK:A)A+(*SKIP:B)Z|AAC/ this meant that the AAC branch was never |
| 69 |
|
tested. |
| 70 |
|
|
| 71 |
|
18. The behaviour of (*MARK), (*PRUNE), and (*THEN) has been reworked and is |
| 72 |
|
now much more compatible with Perl, in particular in cases where the result |
| 73 |
|
is a non-match for a non-anchored pattern. For example, if |
| 74 |
|
/b(*:m)f|a(*:n)w/ is matched against "abc", the non-match returns the name |
| 75 |
|
"m", where previously it did not return a name. A side effect of this |
| 76 |
|
change is that for partial matches, the last encountered mark name is |
| 77 |
|
returned, as for non matches. A number of tests that were previously not |
| 78 |
|
Perl-compatible have been moved into the Perl-compatible test files. The |
| 79 |
|
refactoring has had the pleasing side effect of removing one argument from |
| 80 |
|
the match() function, thus reducing its stack requirements. |
| 81 |
|
|
| 82 |
|
|
| 83 |
Version 8.20 21-Oct-2011 |
Version 8.20 21-Oct-2011 |
| 84 |
------------------------ |
------------------------ |