| 1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
| 2 |
------------------ |
------------------ |
| 3 |
|
|
| 4 |
Version 8.30 |
Version 8.31 |
| 5 |
------------ |
----------------------------- |
| 6 |
|
1. Fixing a wrong JIT test case and some compiler warnings. |
| 7 |
|
|
| 8 |
|
|
| 9 |
|
Version 8.30 04-February-2012 |
| 10 |
|
----------------------------- |
| 11 |
|
|
| 12 |
1. Renamed "isnumber" as "is_a_number" because in some Mac environments this |
1. Renamed "isnumber" as "is_a_number" because in some Mac environments this |
| 13 |
name is defined in ctype.h. |
name is defined in ctype.h. |
| 37 |
|
|
| 38 |
8. Ovector size of 2 is also supported by JIT based pcre_exec (the ovector size |
8. Ovector size of 2 is also supported by JIT based pcre_exec (the ovector size |
| 39 |
rounding is not applied in this particular case). |
rounding is not applied in this particular case). |
| 40 |
|
|
| 41 |
9. The invalid Unicode surrogate codepoints U+D800 to U+DFFF are now rejected |
9. The invalid Unicode surrogate codepoints U+D800 to U+DFFF are now rejected |
| 42 |
if they appear, or are escaped, in patterns. |
if they appear, or are escaped, in patterns. |
|
|
|
|
10. Get rid of a number of -Wunused-but-set-variable warnings. |
|
| 43 |
|
|
| 44 |
11. The pattern /(?=(*:x))(q|)/ matches an empty string, and returns the mark |
10. Get rid of a number of -Wunused-but-set-variable warnings. |
| 45 |
"x". The similar pattern /(?=(*:x))((*:y)q|)/ did not return a mark at all. |
|
| 46 |
Oddly, Perl behaves the same way. PCRE has been fixed so that this pattern |
11. The pattern /(?=(*:x))(q|)/ matches an empty string, and returns the mark |
| 47 |
also returns the mark "x". This bug applied to capturing parentheses, |
"x". The similar pattern /(?=(*:x))((*:y)q|)/ did not return a mark at all. |
| 48 |
non-capturing parentheses, and atomic parentheses. It also applied to some |
Oddly, Perl behaves the same way. PCRE has been fixed so that this pattern |
| 49 |
|
also returns the mark "x". This bug applied to capturing parentheses, |
| 50 |
|
non-capturing parentheses, and atomic parentheses. It also applied to some |
| 51 |
assertions. |
assertions. |
| 52 |
|
|
| 53 |
12. Stephen Kelly's patch to CMakeLists.txt allows it to parse the version |
12. Stephen Kelly's patch to CMakeLists.txt allows it to parse the version |
| 54 |
information out of configure.ac instead of relying on pcre.h.generic, which |
information out of configure.ac instead of relying on pcre.h.generic, which |
| 55 |
is not stored in the repository. |
is not stored in the repository. |
| 56 |
|
|
| 57 |
13. Applied Dmitry V. Levin's patch for a more portable method for linking with |
13. Applied Dmitry V. Levin's patch for a more portable method for linking with |
| 58 |
-lreadline. |
-lreadline. |
|
|
|
|
14. ZH added PCRE_CONFIG_JITTARGET; added its output to pcretest -C. |
|
| 59 |
|
|
| 60 |
15. Applied Graycode's patch to put the top-level frame on the stack rather |
14. ZH added PCRE_CONFIG_JITTARGET; added its output to pcretest -C. |
| 61 |
than the heap when not using the stack for recursion. This gives a |
|
| 62 |
|
15. Applied Graycode's patch to put the top-level frame on the stack rather |
| 63 |
|
than the heap when not using the stack for recursion. This gives a |
| 64 |
performance improvement in many cases when recursion is not deep. |
performance improvement in many cases when recursion is not deep. |
| 65 |
|
|
| 66 |
|
16. Experimental code added to "pcretest -C" to output the stack frame size. |
| 67 |
|
|
| 68 |
|
|
| 69 |
Version 8.21 12-Dec-2011 |
Version 8.21 12-Dec-2011 |
| 70 |
------------------------ |
------------------------ |