| 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 |
| 23 |
|
---------------------- |
| 24 |
|
|
| 25 |
|
1. Fixed typo and small mistake in man page. |
| 26 |
|
|
| 27 |
|
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 |
| 31 |
|
Perl, that is the internal \ allows the delimiter to be included in the |
| 32 |
|
pattern. Locked out the use of \ as a delimiter. If \ immediately follows |
| 33 |
|
the final delimiter, add \ to the end of the pattern (to test the error). |
| 34 |
|
|
| 35 |
|
4. Added the convenience functions for extracting substrings after a successful |
| 36 |
|
match. Updated pcretest to make it able to test these functions. |
| 37 |
|
|
| 38 |
|
|
| 39 |
|
Version 2.02 14-Jan-99 |
| 40 |
|
---------------------- |
| 41 |
|
|
| 42 |
|
1. Initialized the working variables associated with each extraction so that |
| 43 |
|
their saving and restoring doesn't refer to uninitialized store. |
| 44 |
|
|
| 45 |
|
2. Put dummy code into study.c in order to trick the optimizer of the IBM C |
| 46 |
|
compiler for OS/2 into generating correct code. Apparently IBM isn't going to |
| 47 |
|
fix the problem. |
| 48 |
|
|
| 49 |
|
3. Pcretest: the timing code wasn't using LOOPREPEAT for timing execution |
| 50 |
|
calls, and wasn't printing the correct value for compiling calls. Increased the |
| 51 |
|
default value of LOOPREPEAT, and the number of significant figures in the |
| 52 |
|
times. |
| 53 |
|
|
| 54 |
|
4. Changed "/bin/rm" in the Makefile to "-rm" so it works on Windows NT. |
| 55 |
|
|
| 56 |
|
5. Renamed "deftables" as "dftables" to get it down to 8 characters, to avoid |
| 57 |
|
a building problem on Windows NT with a FAT file system. |
| 58 |
|
|
| 59 |
|
|
| 60 |
Version 2.01 21-Oct-98 |
Version 2.01 21-Oct-98 |
| 61 |
---------------------- |
---------------------- |
| 62 |
|
|