| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
Version 7.1 12-Mar-07 |
Version 7.2 01-May-07 |
| 5 |
|
--------------------- |
| 6 |
|
|
| 7 |
|
1. If the fr_FR locale cannot be found for test 3, try the "french" locale, |
| 8 |
|
which is apparently normally available under Windows. |
| 9 |
|
|
| 10 |
|
2. Re-jig the pcregrep tests with different newline settings in an attempt |
| 11 |
|
to make them independent of the local environment's newline setting. |
| 12 |
|
|
| 13 |
|
3. Add code to configure.ac to remove -g from the CFLAGS default settings. |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
Version 7.1 24-Apr-07 |
| 17 |
--------------------- |
--------------------- |
| 18 |
|
|
| 19 |
1. Applied Bob Rossi and Daniel G's patches to convert the build system to one |
1. Applied Bob Rossi and Daniel G's patches to convert the build system to one |
| 45 |
5. Updated the support (such as it is) for Virtual Pascal, thanks to Stefan |
5. Updated the support (such as it is) for Virtual Pascal, thanks to Stefan |
| 46 |
Weber: (1) pcre_internal.h was missing some function renames; (2) updated |
Weber: (1) pcre_internal.h was missing some function renames; (2) updated |
| 47 |
makevp.bat for the current PCRE, using the additional files |
makevp.bat for the current PCRE, using the additional files |
| 48 |
makevp-compile.txt, makevp-linklib.txt, and pcregexp.pas. |
makevp_c.txt, makevp_l.txt, and pcregexp.pas. |
| 49 |
|
|
| 50 |
6. A Windows user reported a minor discrepancy with test 2, which turned out |
6. A Windows user reported a minor discrepancy with test 2, which turned out |
| 51 |
to be caused by a trailing space on an input line that had got lost in his |
to be caused by a trailing space on an input line that had got lost in his |
| 128 |
14. If erroroffset was passed as NULL to pcre_compile, it provoked a |
14. If erroroffset was passed as NULL to pcre_compile, it provoked a |
| 129 |
segmentation fault instead of returning the appropriate error message. |
segmentation fault instead of returning the appropriate error message. |
| 130 |
|
|
| 131 |
|
15. In multiline mode when the newline sequence was set to "any", the pattern |
| 132 |
|
^$ would give a match between the \r and \n of a subject such as "A\r\nB". |
| 133 |
|
This doesn't seem right; it now treats the CRLF combination as the line |
| 134 |
|
ending, and so does not match in that case. It's only a pattern such as ^$ |
| 135 |
|
that would hit this one: something like ^ABC$ would have failed after \r |
| 136 |
|
and then tried again after \r\n. |
| 137 |
|
|
| 138 |
|
16. Changed the comparison command for RunGrepTest from "diff -u" to "diff -ub" |
| 139 |
|
in an attempt to make files that differ only in their line terminators |
| 140 |
|
compare equal. This works on Linux. |
| 141 |
|
|
| 142 |
|
17. Under certain error circumstances pcregrep might try to free random memory |
| 143 |
|
as it exited. This is now fixed, thanks to valgrind. |
| 144 |
|
|
| 145 |
|
19. In pcretest, if the pattern /(?m)^$/g<any> was matched against the string |
| 146 |
|
"abc\r\n\r\n", it found an unwanted second match after the second \r. This |
| 147 |
|
was because its rules for how to advance for /g after matching an empty |
| 148 |
|
string at the end of a line did not allow for this case. They now check for |
| 149 |
|
it specially. |
| 150 |
|
|
| 151 |
|
20. pcretest is supposed to handle patterns and data of any length, by |
| 152 |
|
extending its buffers when necessary. It was getting this wrong when the |
| 153 |
|
buffer for a data line had to be extended. |
| 154 |
|
|
| 155 |
|
21. Added PCRE_NEWLINE_ANYCRLF which is like ANY, but matches only CR, LF, or |
| 156 |
|
CRLF as a newline sequence. |
| 157 |
|
|
| 158 |
|
22. Code for handling Unicode properties in pcre_dfa_exec() wasn't being cut |
| 159 |
|
out by #ifdef SUPPORT_UCP. This did no harm, as it could never be used, but |
| 160 |
|
I have nevertheless tidied it up. |
| 161 |
|
|
| 162 |
|
23. Added some casts to kill warnings from HP-UX ia64 compiler. |
| 163 |
|
|
| 164 |
|
24. Added a man page for pcre-config. |
| 165 |
|
|
| 166 |
|
|
| 167 |
Version 7.0 19-Dec-06 |
Version 7.0 19-Dec-06 |
| 168 |
--------------------- |
--------------------- |