2 |
------------------------ |
------------------------ |
3 |
|
|
4 |
|
|
5 |
Release 7.1 20-Mar-07 |
Release 7.2 13-Jun-07 |
6 |
--------------------- |
--------------------- |
7 |
|
|
8 |
There are no new features in this release. A few bugs are fixed (see ChangeLog |
WARNING: saved patterns that were compiled by earlier versions of PCRE must be |
9 |
for details), but the major change is a complete re-implementation of the build |
recompiled for use with 7.2 (necessitated by the addition of \K, \h, \H, \v, |
10 |
system. This now has full Autotools support and so is now "standard" in some |
and \V). |
11 |
sense. It should help with compiling PCRE in a wide variety of environments. |
|
12 |
|
Correction to the notes for 7.1: the note about shared libraries for Windows is |
13 |
|
wrong. Previously, three libraries were built, but each could function |
14 |
|
independently. For example, the pcreposix library also included all the |
15 |
|
functions from the basic pcre library. The change is that the three libraries |
16 |
|
are no longer independent. They are like the Unix libraries. To use the |
17 |
|
pcreposix functions, for example, you need to link with both the pcreposix and |
18 |
|
the basic pcre library. |
19 |
|
|
20 |
|
Some more features from Perl 5.10 have been added: |
21 |
|
|
22 |
|
(?-n) and (?+n) relative references for recursion and subroutines. |
23 |
|
|
24 |
|
(?(-n) and (?(+n) relative references as conditions. |
25 |
|
|
26 |
|
\k{name} and \g{name} are synonyms for \k<name>. |
27 |
|
|
28 |
|
\K to reset the start of the matched string; for example, (foo)\Kbar |
29 |
|
matches bar preceded by foo, but only sets bar as the matched string. |
30 |
|
|
31 |
|
(?| introduces a group where the capturing parentheses in each alternative |
32 |
|
start from the same number; for example, (?|(abc)|(xyz)) sets capturing |
33 |
|
parentheses number 1 in both cases. |
34 |
|
|
35 |
|
\h, \H, \v, \V match horizontal and vertical whitespace, respectively. |
36 |
|
|
37 |
|
|
38 |
|
Release 7.1 24-Apr-07 |
39 |
|
--------------------- |
40 |
|
|
41 |
|
There is only one new feature in this release: a linebreak setting of |
42 |
|
PCRE_NEWLINE_ANYCRLF. It is a cut-down version of PCRE_NEWLINE_ANY, which |
43 |
|
recognizes only CRLF, CR, and LF as linebreaks. |
44 |
|
|
45 |
|
A few bugs are fixed (see ChangeLog for details), but the major change is a |
46 |
|
complete re-implementation of the build system. This now has full Autotools |
47 |
|
support and so is now "standard" in some sense. It should help with compiling |
48 |
|
PCRE in a wide variety of environments. |
49 |
|
|
50 |
NOTE: when building shared libraries for Windows, three dlls are now built, |
NOTE: when building shared libraries for Windows, three dlls are now built, |
51 |
called libpcre, libpcreposix, and libpcrecpp. Previously, everything was |
called libpcre, libpcreposix, and libpcrecpp. Previously, everything was |