| 1 |
News about PCRE releases |
News about PCRE releases |
| 2 |
------------------------ |
------------------------ |
| 3 |
|
|
| 4 |
|
Release 8.02 19-Mar-2010 |
| 5 |
|
------------------------ |
| 6 |
|
|
| 7 |
|
Another bug-fix release. |
| 8 |
|
|
| 9 |
|
|
| 10 |
|
Release 8.01 19-Jan-2010 |
| 11 |
|
------------------------ |
| 12 |
|
|
| 13 |
|
This is a bug-fix release. Several bugs in the code itself and some bugs and |
| 14 |
|
infelicities in the build system have been fixed. |
| 15 |
|
|
| 16 |
|
|
| 17 |
|
Release 8.00 19-Oct-09 |
| 18 |
|
---------------------- |
| 19 |
|
|
| 20 |
|
Bugs have been fixed in the library and in pcregrep. There are also some |
| 21 |
|
enhancements. Restrictions on patterns used for partial matching have been |
| 22 |
|
removed, extra information is given for partial matches, the partial matching |
| 23 |
|
process has been improved, and an option to make a partial match override a |
| 24 |
|
full match is available. The "study" process has been enhanced by finding a |
| 25 |
|
lower bound matching length. Groups with duplicate numbers may now have |
| 26 |
|
duplicated names without the use of PCRE_DUPNAMES. However, they may not have |
| 27 |
|
different names. The documentation has been revised to reflect these changes. |
| 28 |
|
The version number has been expanded to 3 digits as it is clear that the rate |
| 29 |
|
of change is not slowing down. |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
Release 7.9 11-Apr-09 |
| 33 |
|
--------------------- |
| 34 |
|
|
| 35 |
|
Mostly bugfixes and tidies with just a couple of minor functional additions. |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
Release 7.8 05-Sep-08 |
| 39 |
|
--------------------- |
| 40 |
|
|
| 41 |
|
More bug fixes, plus a performance improvement in Unicode character property |
| 42 |
|
lookup. |
| 43 |
|
|
| 44 |
|
|
| 45 |
|
Release 7.7 07-May-08 |
| 46 |
|
--------------------- |
| 47 |
|
|
| 48 |
|
This is once again mainly a bug-fix release, but there are a couple of new |
| 49 |
|
features. |
| 50 |
|
|
| 51 |
|
|
| 52 |
|
Release 7.6 28-Jan-08 |
| 53 |
|
--------------------- |
| 54 |
|
|
| 55 |
|
The main reason for having this release so soon after 7.5 is because it fixes a |
| 56 |
|
potential buffer overflow problem in pcre_compile() when run in UTF-8 mode. In |
| 57 |
|
addition, the CMake configuration files have been brought up to date. |
| 58 |
|
|
| 59 |
|
|
| 60 |
|
Release 7.5 10-Jan-08 |
| 61 |
|
--------------------- |
| 62 |
|
|
| 63 |
|
This is mainly a bug-fix release. However the ability to link pcregrep with |
| 64 |
|
libz or libbz2 and the ability to link pcretest with libreadline have been |
| 65 |
|
added. Also the --line-offsets and --file-offsets options were added to |
| 66 |
|
pcregrep. |
| 67 |
|
|
| 68 |
Release 7.2 30-Apr-07 |
|
| 69 |
|
Release 7.4 21-Sep-07 |
| 70 |
|
--------------------- |
| 71 |
|
|
| 72 |
|
The only change of specification is the addition of options to control whether |
| 73 |
|
\R matches any Unicode line ending (the default) or just CR, LF, and CRLF. |
| 74 |
|
Otherwise, the changes are bug fixes and a refactoring to reduce the number of |
| 75 |
|
relocations needed in a shared library. There have also been some documentation |
| 76 |
|
updates, in particular, some more information about using CMake to build PCRE |
| 77 |
|
has been added to the NON-UNIX-USE file. |
| 78 |
|
|
| 79 |
|
|
| 80 |
|
Release 7.3 28-Aug-07 |
| 81 |
|
--------------------- |
| 82 |
|
|
| 83 |
|
Most changes are bug fixes. Some that are not: |
| 84 |
|
|
| 85 |
|
1. There is some support for Perl 5.10's experimental "backtracking control |
| 86 |
|
verbs" such as (*PRUNE). |
| 87 |
|
|
| 88 |
|
2. UTF-8 checking is now as per RFC 3629 instead of RFC 2279; this is more |
| 89 |
|
restrictive in the strings it accepts. |
| 90 |
|
|
| 91 |
|
3. Checking for potential integer overflow has been made more dynamic, and as a |
| 92 |
|
consequence there is no longer a hard limit on the size of a subpattern that |
| 93 |
|
has a limited repeat count. |
| 94 |
|
|
| 95 |
|
4. When CRLF is a valid line-ending sequence, pcre_exec() and pcre_dfa_exec() |
| 96 |
|
no longer advance by two characters instead of one when an unanchored match |
| 97 |
|
fails at CRLF if there are explicit CR or LF matches within the pattern. |
| 98 |
|
This gets rid of some anomalous effects that previously occurred. |
| 99 |
|
|
| 100 |
|
5. Some PCRE-specific settings for varying the newline options at the start of |
| 101 |
|
a pattern have been added. |
| 102 |
|
|
| 103 |
|
|
| 104 |
|
Release 7.2 19-Jun-07 |
| 105 |
--------------------- |
--------------------- |
| 106 |
|
|
| 107 |
WARNING: saved patterns that were compiled by earlier versions of PCRE must be |
WARNING: saved patterns that were compiled by earlier versions of PCRE must be |
| 108 |
recompiled for use with 7.2 (necessitated by the addition of \K). |
recompiled for use with 7.2 (necessitated by the addition of \K, \h, \H, \v, |
| 109 |
|
and \V). |
| 110 |
|
|
| 111 |
Correction to the notes for 7.1: the note about shared libraries for Windows is |
Correction to the notes for 7.1: the note about shared libraries for Windows is |
| 112 |
wrong. Previously, three libraries were built, but each could function |
wrong. Previously, three libraries were built, but each could function |
| 120 |
|
|
| 121 |
(?-n) and (?+n) relative references for recursion and subroutines. |
(?-n) and (?+n) relative references for recursion and subroutines. |
| 122 |
|
|
|
(Not sure if this one is actually in Perl 5.10) |
|
| 123 |
(?(-n) and (?(+n) relative references as conditions. |
(?(-n) and (?(+n) relative references as conditions. |
| 124 |
|
|
| 125 |
|
\k{name} and \g{name} are synonyms for \k<name>. |
| 126 |
|
|
| 127 |
\K to reset the start of the matched string; for example, (foo)\Kbar |
\K to reset the start of the matched string; for example, (foo)\Kbar |
| 128 |
matches bar preceded by foo, but only sets bar as the matched string |
matches bar preceded by foo, but only sets bar as the matched string. |
| 129 |
|
|
| 130 |
|
(?| introduces a group where the capturing parentheses in each alternative |
| 131 |
|
start from the same number; for example, (?|(abc)|(xyz)) sets capturing |
| 132 |
|
parentheses number 1 in both cases. |
| 133 |
|
|
| 134 |
|
\h, \H, \v, \V match horizontal and vertical whitespace, respectively. |
| 135 |
|
|
| 136 |
|
|
| 137 |
Release 7.1 24-Apr-07 |
Release 7.1 24-Apr-07 |