| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
Version 8.12 12-Jan-2011 |
Version 8.13 30-Apr-2011 |
| 5 |
|
------------------------ |
| 6 |
|
|
| 7 |
|
1. The Unicode data tables have been updated to Unicode 6.0.0. |
| 8 |
|
|
| 9 |
|
2. Two minor typos in pcre_internal.h have been fixed. |
| 10 |
|
|
| 11 |
|
3. Added #include <string.h> to pcre_scanner_unittest.cc, pcrecpp.cc, and |
| 12 |
|
pcrecpp_unittest.cc. They are needed for strcmp(), memset(), and strchr() |
| 13 |
|
in some environments (e.g. Solaris 10/SPARC using Sun Studio 12U2). |
| 14 |
|
|
| 15 |
|
4. There were a number of related bugs in the code for matching backrefences |
| 16 |
|
caselessly in UTF-8 mode when codes for the characters concerned were |
| 17 |
|
different numbers of bytes. For example, U+023A and U+2C65 are an upper |
| 18 |
|
and lower case pair, using 2 and 3 bytes, respectively. The main bugs were: |
| 19 |
|
(a) A reference to 3 copies of a 2-byte code matched only 2 of a 3-byte |
| 20 |
|
code. (b) A reference to 2 copies of a 3-byte code would not match 2 of a |
| 21 |
|
2-byte code at the end of the subject (it thought there wasn't enough data |
| 22 |
|
left). |
| 23 |
|
|
| 24 |
|
|
| 25 |
|
Version 8.12 15-Jan-2011 |
| 26 |
------------------------ |
------------------------ |
| 27 |
|
|
| 28 |
1. Fixed some typos in the markup of the man pages, and wrote a script that |
1. Fixed some typos in the markup of the man pages, and wrote a script that |
| 29 |
checks for such things as part of the documentation building process. |
checks for such things as part of the documentation building process. |
| 30 |
|
|
| 31 |
2. On a big-endian 64-bit system, pcregrep did not correctly process the |
2. On a big-endian 64-bit system, pcregrep did not correctly process the |
| 32 |
--match-limit and --recursion-limit options (added for 8.11). In |
--match-limit and --recursion-limit options (added for 8.11). In |
| 33 |
particular, this made one of the standard tests crash. (The integer value |
particular, this made one of the standard tests fail. (The integer value |
| 34 |
went into the wrong half of a long int.) |
went into the wrong half of a long int.) |
| 35 |
|
|
| 36 |
3. If the --colour option was given to pcregrep with -v (invert match), it |
3. If the --colour option was given to pcregrep with -v (invert match), it |
| 37 |
did strange things, either producing crazy output, or crashing. It should, |
did strange things, either producing crazy output, or crashing. It should, |
| 38 |
of course, ignore a request for colour when reporting lines that do not |
of course, ignore a request for colour when reporting lines that do not |
| 39 |
match. |
match. |
| 40 |
|
|
| 41 |
4. If pcregrep was compiled under Windows, there was a reference to the |
4. Another pcregrep bug caused similar problems if --colour was specified with |
| 42 |
|
-M (multiline) and the pattern match finished with a line ending. |
| 43 |
|
|
| 44 |
|
5. In pcregrep, when a pattern that ended with a literal newline sequence was |
| 45 |
|
matched in multiline mode, the following line was shown as part of the |
| 46 |
|
match. This seems wrong, so I have changed it. |
| 47 |
|
|
| 48 |
|
6. Another pcregrep bug in multiline mode, when --colour was specified, caused |
| 49 |
|
the check for further matches in the same line (so they could be coloured) |
| 50 |
|
to overrun the end of the current line. If another match was found, it was |
| 51 |
|
incorrectly shown (and then shown again when found in the next line). |
| 52 |
|
|
| 53 |
|
7. If pcregrep was compiled under Windows, there was a reference to the |
| 54 |
function pcregrep_exit() before it was defined. I am assuming this was |
function pcregrep_exit() before it was defined. I am assuming this was |
| 55 |
the cause of the "error C2371: 'pcregrep_exit' : redefinition;" that was |
the cause of the "error C2371: 'pcregrep_exit' : redefinition;" that was |
| 56 |
reported by a user. I've moved the definition above the reference. |
reported by a user. I've moved the definition above the reference. |
| 57 |
|
|
| 58 |
|
|