| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
|
|
| 5 |
Version 1.09 28 Apr-98 |
Version 2.00 24-Sep-98 |
| 6 |
|
---------------------- |
| 7 |
|
|
| 8 |
|
1. Since the (>?) facility is in Perl 5.005, don't require PCRE_EXTRA to enable |
| 9 |
|
it any more. |
| 10 |
|
|
| 11 |
|
2. Allow quantification of (?>) groups, and make it work correctly. |
| 12 |
|
|
| 13 |
|
3. The first character computation wasn't working for (?>) groups. |
| 14 |
|
|
| 15 |
|
4. Correct the implementation of \Z (it is permitted to match on the \n at the |
| 16 |
|
end of the subject) and add 5.005's \z, which really does match only at the |
| 17 |
|
very end of the subject. |
| 18 |
|
|
| 19 |
|
5. Remove the \X "cut" facility; Perl doesn't have it, and (?> is neater. |
| 20 |
|
|
| 21 |
|
6. Remove the ability to specify CASELESS, MULTILINE, DOTALL, and |
| 22 |
|
DOLLAR_END_ONLY at runtime, to make it possible to implement the Perl 5.005 |
| 23 |
|
localized options. All options to pcre_study() were also removed. |
| 24 |
|
|
| 25 |
|
7. Add other new features from 5.005: |
| 26 |
|
|
| 27 |
|
$(?<= positive lookbehind |
| 28 |
|
$(?<! negative lookbehind |
| 29 |
|
(?imsx-imsx) added the unsetting capability |
| 30 |
|
such a setting is global if at outer level; local otherwise |
| 31 |
|
(?imsx-imsx:) non-capturing groups with option setting |
| 32 |
|
(?(cond)re|re) conditional pattern matching |
| 33 |
|
|
| 34 |
|
A backreference to itself in a repeated group matches the previous |
| 35 |
|
captured string. |
| 36 |
|
|
| 37 |
|
8. General tidying up of studying (both automatic and via "study") |
| 38 |
|
consequential on the addition of new assertions. |
| 39 |
|
|
| 40 |
|
9. As in 5.005, unlimited repeated groups that could match an empty substring |
| 41 |
|
are no longer faulted at compile time. Instead, the loop is forcibly broken at |
| 42 |
|
runtime if any iteration does actually match an empty substring. |
| 43 |
|
|
| 44 |
|
10. Include the RunTest script in the distribution. |
| 45 |
|
|
| 46 |
|
11. Added tests from the Perl 5.005_02 distribution. This showed up a few |
| 47 |
|
discrepancies, some of which were old and were also with respect to 5.004. They |
| 48 |
|
have now been fixed. |
| 49 |
|
|
| 50 |
|
|
| 51 |
|
Version 1.09 28-Apr-98 |
| 52 |
---------------------- |
---------------------- |
| 53 |
|
|
| 54 |
1. A negated single character class followed by a quantifier with a minimum |
1. A negated single character class followed by a quantifier with a minimum |