| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
|
|
| 5 |
|
Version 2.04 18-Feb-99 |
| 6 |
|
---------------------- |
| 7 |
|
|
| 8 |
|
1. For parenthesized subpatterns with repeats whose minimum was zero, the |
| 9 |
|
computation of the store needed to hold the pattern was incorrect (too large). |
| 10 |
|
If such patterns were nested a few deep, this could multiply and become a real |
| 11 |
|
problem. |
| 12 |
|
|
| 13 |
|
2. Added /M option to pcretest to show the memory requirement of a specific |
| 14 |
|
pattern. Made -m a synonym of -s (which does this globally) for compatibility. |
| 15 |
|
|
| 16 |
|
3. Subpatterns of the form (regex){n,m} (i.e. limited maximum) were being |
| 17 |
|
compiled in such a way that the backtracking after subsequent failure was |
| 18 |
|
pessimal. Something like (a){0,3} was compiled as (a)?(a)?(a)? instead of |
| 19 |
|
((a)((a)(a)?)?)? with disastrous performance if the maximum was of any size. |
| 20 |
|
|
| 21 |
|
|
| 22 |
Version 2.03 02-Feb-99 |
Version 2.03 02-Feb-99 |
| 23 |
---------------------- |
---------------------- |
| 24 |
|
|
| 25 |
1. Fixed typo and small mistake in man page. |
1. Fixed typo and small mistake in man page. |
| 26 |
|
|
| 27 |
2. Added 4th condition (GPL supersedes) and created separate LICENCE file. |
2. Added 4th condition (GPL supersedes if conflict) and created separate |
| 28 |
|
LICENCE file containing the conditions. |
| 29 |
|
|
| 30 |
3. Updated pcretest so that patterns such as /abc\/def/ work like they do in |
3. Updated pcretest so that patterns such as /abc\/def/ work like they do in |
| 31 |
Perl, that is the internal \ allows the delimiter to be included in the |
Perl, that is the internal \ allows the delimiter to be included in the |