| 82 |
|
|
| 83 |
(c) The pcredemo.c sample program did not have any code at all to handle |
(c) The pcredemo.c sample program did not have any code at all to handle |
| 84 |
the cases when CRLF is a valid newline sequence. |
the cases when CRLF is a valid newline sequence. |
| 85 |
|
|
| 86 |
|
14. Neither pcre_exec() nor pcre_dfa_exec() was checking that the value given |
| 87 |
|
as a starting offset was within the subject string. There is now a new |
| 88 |
|
error, PCRE_ERROR_BADOFFSET, which is returned if the starting offset is |
| 89 |
|
negative or greater than the length of the string. In order to test this, |
| 90 |
|
pcretest is extended to allow the setting of negative starting offsets. |
| 91 |
|
|
| 92 |
|
15. In both pcre_exec() and pcre_dfa_exec() the code for checking that the |
| 93 |
|
starting offset points to the beginning of a UTF-8 character was |
| 94 |
|
unnecessarily clumsy. I tidied it up. |
| 95 |
|
|
| 96 |
|
|
| 97 |
Version 8.10 25-Jun-2010 |
Version 8.10 25-Jun-2010 |