diff options
author | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:38:57 +0000 |
---|---|---|
committer | nigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-02-24 21:38:57 +0000 |
commit | 685a411841b5e69517e02508446b317764cd6d70 (patch) | |
tree | 13da4537772c74f22f6d56e303c0781009c11a12 /ChangeLog | |
parent | 7703eae0f55edaff9f482fa8d23a6910d5d18577 (diff) | |
download | pcre-685a411841b5e69517e02508446b317764cd6d70.tar.gz |
Load pcre-2.04 into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@31 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -2,12 +2,30 @@ ChangeLog for PCRE ------------------ +Version 2.04 18-Feb-99 +---------------------- + +1. For parenthesized subpatterns with repeats whose minimum was zero, the +computation of the store needed to hold the pattern was incorrect (too large). +If such patterns were nested a few deep, this could multiply and become a real +problem. + +2. Added /M option to pcretest to show the memory requirement of a specific +pattern. Made -m a synonym of -s (which does this globally) for compatibility. + +3. Subpatterns of the form (regex){n,m} (i.e. limited maximum) were being +compiled in such a way that the backtracking after subsequent failure was +pessimal. Something like (a){0,3} was compiled as (a)?(a)?(a)? instead of +((a)((a)(a)?)?)? with disastrous performance if the maximum was of any size. + + Version 2.03 02-Feb-99 ---------------------- 1. Fixed typo and small mistake in man page. -2. Added 4th condition (GPL supersedes) and created separate LICENCE file. +2. Added 4th condition (GPL supersedes if conflict) and created separate +LICENCE file containing the conditions. 3. Updated pcretest so that patterns such as /abc\/def/ work like they do in Perl, that is the internal \ allows the delimiter to be included in the |