| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
Version 8.31 |
Version 8.31 02-June-2012 |
| 5 |
----------------------------- |
------------------------- |
| 6 |
|
|
| 7 |
1. Fixing a wrong JIT test case and some compiler warnings. |
1. Fixing a wrong JIT test case and some compiler warnings. |
| 8 |
|
|
| 95 |
\w+ when the character tables indicated that \x{c4} was a word character. |
\w+ when the character tables indicated that \x{c4} was a word character. |
| 96 |
There were several related cases, all because the tests for doing a table |
There were several related cases, all because the tests for doing a table |
| 97 |
lookup were testing for characters less than 127 instead of 255. |
lookup were testing for characters less than 127 instead of 255. |
| 98 |
|
|
| 99 |
27. If a pattern contains capturing parentheses that are not used in a match, |
27. If a pattern contains capturing parentheses that are not used in a match, |
| 100 |
their slots in the ovector are set to -1. For those that are higher than |
their slots in the ovector are set to -1. For those that are higher than |
| 101 |
any matched groups, this happens at the end of processing. In the case when |
any matched groups, this happens at the end of processing. In the case when |
| 102 |
there were back references that the ovector was too small to contain |
there were back references that the ovector was too small to contain |
| 103 |
(causing temporary malloc'd memory to be used during matching), and the |
(causing temporary malloc'd memory to be used during matching), and the |
| 104 |
highest capturing number was not used, memory off the end of the ovector |
highest capturing number was not used, memory off the end of the ovector |
| 105 |
was incorrectly being set to -1. (It was using the size of the temporary |
was incorrectly being set to -1. (It was using the size of the temporary |
| 106 |
memory instead of the true size.) |
memory instead of the true size.) |
| 107 |
|
|
| 108 |
28. To catch bugs like 27 using valgrind, when pcretest is asked to specify an |
28. To catch bugs like 27 using valgrind, when pcretest is asked to specify an |
| 109 |
ovector size, it uses memory at the end of the block that it has got. |
ovector size, it uses memory at the end of the block that it has got. |
| 110 |
|
|
| 111 |
29. Check for an overlong MARK name and give an error at compile time. The |
29. Check for an overlong MARK name and give an error at compile time. The |
| 112 |
limit is 255 for the 8-bit library and 65535 for the 16-bit library. |
limit is 255 for the 8-bit library and 65535 for the 16-bit library. |
| 113 |
|
|
| 114 |
30. JIT compiler update. |
30. JIT compiler update. |
| 120 |
|
|
| 121 |
33. Variable renamings in the PCRE-JIT compiler. No functionality change. |
33. Variable renamings in the PCRE-JIT compiler. No functionality change. |
| 122 |
|
|
| 123 |
34. Fixed typos in pcregrep: in two places there was SUPPORT_LIBZ2 instead of |
34. Fixed typos in pcregrep: in two places there was SUPPORT_LIBZ2 instead of |
| 124 |
SUPPORT_LIBBZ2. This caused a build problem when bzip2 but not gzip (zlib) |
SUPPORT_LIBBZ2. This caused a build problem when bzip2 but not gzip (zlib) |
| 125 |
was enabled. |
was enabled. |
| 126 |
|
|