8 |
|
|
9 |
2. Two minor typos in pcre_internal.h have been fixed. |
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 |
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() |
pcrecpp_unittest.cc. They are needed for strcmp(), memset(), and strchr() |
13 |
in some environments (e.g. Solaris 10/SPARC using Sun Studio 12U2). |
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 |
Version 8.12 15-Jan-2011 |