| 1 |
News about PCRE releases |
News about PCRE releases |
| 2 |
------------------------ |
------------------------ |
| 3 |
|
|
| 4 |
Release 8.02 10-Mar-2010 |
Release 8.30 |
| 5 |
|
------------ |
| 6 |
|
|
| 7 |
|
Release 8.30 introduces a major new feature: support for 16-bit character |
| 8 |
|
strings, compiled as a separate library. There are a few changes to the |
| 9 |
|
8-bit library, in addition to some bug fixes. |
| 10 |
|
|
| 11 |
|
. The pcre_info() function, which has been obsolete for over 10 years, has |
| 12 |
|
been removed. |
| 13 |
|
|
| 14 |
|
. When a compiled pattern was saved to a file and later reloaded on a host |
| 15 |
|
with different endianness, PCRE used automatically to swap the bytes in some |
| 16 |
|
of the data fields. With the advent of the 16-bit library, where more of this |
| 17 |
|
swapping is needed, it is no longer done automatically. Instead, the bad |
| 18 |
|
endianness is detected and a specific error is given. The user can then call |
| 19 |
|
a new function called pcre_pattern_to_host_byte_order() (or an equivalent |
| 20 |
|
16-bit function) to do the swap. |
| 21 |
|
|
| 22 |
|
. In UTF-8 mode, the values 0xd800 to 0xdfff are not legal Unicode |
| 23 |
|
code points and are now faulted. (They are the so-called "surrogates" |
| 24 |
|
that are reserved for coding high values in UTF-16.) |
| 25 |
|
|
| 26 |
|
|
| 27 |
|
Release 8.21 12-Dec-2011 |
| 28 |
|
------------------------ |
| 29 |
|
|
| 30 |
|
This is almost entirely a bug-fix release. The only new feature is the ability |
| 31 |
|
to obtain the size of the memory used by the JIT compiler. |
| 32 |
|
|
| 33 |
|
|
| 34 |
|
Release 8.20 21-Oct-2011 |
| 35 |
|
------------------------ |
| 36 |
|
|
| 37 |
|
The main change in this release is the inclusion of Zoltan Herczeg's |
| 38 |
|
just-in-time compiler support, which can be accessed by building PCRE with |
| 39 |
|
--enable-jit. Large performance benefits can be had in many situations. 8.20 |
| 40 |
|
also fixes an unfortunate bug that was introduced in 8.13 as well as tidying up |
| 41 |
|
a number of infelicities and differences from Perl. |
| 42 |
|
|
| 43 |
|
|
| 44 |
|
Release 8.13 16-Aug-2011 |
| 45 |
|
------------------------ |
| 46 |
|
|
| 47 |
|
This is mainly a bug-fix release. There has been a lot of internal refactoring. |
| 48 |
|
The Unicode tables have been updated. The only new feature in the library is |
| 49 |
|
the passing of *MARK information to callouts. Some additions have been made to |
| 50 |
|
pcretest to make testing easier and more comprehensive. There is a new option |
| 51 |
|
for pcregrep to adjust its internal buffer size. |
| 52 |
|
|
| 53 |
|
|
| 54 |
|
Release 8.12 15-Jan-2011 |
| 55 |
|
------------------------ |
| 56 |
|
|
| 57 |
|
This release fixes some bugs in pcregrep, one of which caused the tests to fail |
| 58 |
|
on 64-bit big-endian systems. There are no changes to the code of the library. |
| 59 |
|
|
| 60 |
|
|
| 61 |
|
Release 8.11 10-Dec-2010 |
| 62 |
|
------------------------ |
| 63 |
|
|
| 64 |
|
A number of bugs in the library and in pcregrep have been fixed. As always, see |
| 65 |
|
ChangeLog for details. The following are the non-bug-fix changes: |
| 66 |
|
|
| 67 |
|
. Added --match-limit and --recursion-limit to pcregrep. |
| 68 |
|
|
| 69 |
|
. Added an optional parentheses number to the -o and --only-matching options |
| 70 |
|
of pcregrep. |
| 71 |
|
|
| 72 |
|
. Changed the way PCRE_PARTIAL_HARD affects the matching of $, \z, \Z, \b, and |
| 73 |
|
\B. |
| 74 |
|
|
| 75 |
|
. Added PCRE_ERROR_SHORTUTF8 to make it possible to distinguish between a |
| 76 |
|
bad UTF-8 sequence and one that is incomplete when using PCRE_PARTIAL_HARD. |
| 77 |
|
|
| 78 |
|
. Recognize (*NO_START_OPT) at the start of a pattern to set the PCRE_NO_ |
| 79 |
|
START_OPTIMIZE option, which is now allowed at compile time |
| 80 |
|
|
| 81 |
|
|
| 82 |
|
Release 8.10 25-Jun-2010 |
| 83 |
|
------------------------ |
| 84 |
|
|
| 85 |
|
There are two major additions: support for (*MARK) and friends, and the option |
| 86 |
|
PCRE_UCP, which changes the behaviour of \b, \d, \s, and \w (and their |
| 87 |
|
opposites) so that they make use of Unicode properties. There are also a number |
| 88 |
|
of lesser new features, and several bugs have been fixed. A new option, |
| 89 |
|
--line-buffered, has been added to pcregrep, for use when it is connected to |
| 90 |
|
pipes. |
| 91 |
|
|
| 92 |
|
|
| 93 |
|
Release 8.02 19-Mar-2010 |
| 94 |
------------------------ |
------------------------ |
| 95 |
|
|
| 96 |
Another bug-fix release. |
Another bug-fix release. |