| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
Version 7.7 28-Apr-08 |
Version 8.0 02 Jul-08 |
| 5 |
|
--------------------- |
| 6 |
|
|
| 7 |
|
1. Replaced UCP searching code with optimized version as implemented for Ad |
| 8 |
|
Muncher (http://www.admuncher.com/) by Peter Kankowski. This uses a two- |
| 9 |
|
stage table and inline lookup instead of a function, giving speed ups of 2 |
| 10 |
|
to 5 times on some simple patterns that I tested. Permission was given to |
| 11 |
|
distribute the MultiStage2.py script that generates the tables (it's not in |
| 12 |
|
the tarball, but is in the Subversion repository). |
| 13 |
|
|
| 14 |
|
2. Updated the Unicode datatables to Unicode 5.1.0. This adds yet more |
| 15 |
|
scripts. |
| 16 |
|
|
| 17 |
|
3. Change 12 for 7.7 introduced a bug in pcre_study() when a pattern contained |
| 18 |
|
a group with a zero qualifier. The result of the study could be incorrect, |
| 19 |
|
or the function might crash, depending on the pattern. |
| 20 |
|
|
| 21 |
|
4. Caseless matching was not working for non-ASCII characters in back |
| 22 |
|
references. For example, /(\x{de})\1/8i was not matching \x{de}\x{fe}. |
| 23 |
|
It now works when Unicode Property Support is available. |
| 24 |
|
|
| 25 |
|
5. In pcretest, an escape such as \x{de} in the data was always generating |
| 26 |
|
a UTF-8 string, even in non-UTF-8 mode. Now it generates a single byte in |
| 27 |
|
non-UTF-8 mode. If the value is greater than 255, it gives a warning about |
| 28 |
|
truncation. |
| 29 |
|
|
| 30 |
|
6. Minor bugfix in pcrecpp.cc (change "" == ... to NULL == ...). |
| 31 |
|
|
| 32 |
|
|
| 33 |
|
Version 7.7 07-May-08 |
| 34 |
--------------------- |
--------------------- |
| 35 |
|
|
| 36 |
1. Applied Craig's patch to sort out a long long problem: "If we can't convert |
1. Applied Craig's patch to sort out a long long problem: "If we can't convert |
| 132 |
requested, but also to allow for it to be overridden. This patch came from |
requested, but also to allow for it to be overridden. This patch came from |
| 133 |
Daniel Bergström. |
Daniel Bergström. |
| 134 |
|
|
| 135 |
|
19. There was a typo in the file ucpinternal.h where f0_rangeflag was defined |
| 136 |
|
as 0x00f00000 instead of 0x00800000. Luckily, this would not have caused |
| 137 |
|
any errors with the current Unicode tables. Thanks to Peter Kankowski for |
| 138 |
|
spotting this. |
| 139 |
|
|
| 140 |
|
|
| 141 |
Version 7.6 28-Jan-08 |
Version 7.6 28-Jan-08 |
| 142 |
--------------------- |
--------------------- |