| 5 |
---------------------- |
---------------------- |
| 6 |
|
|
| 7 |
1. If a pattern contained a conditional subpattern with only one branch (in |
1. If a pattern contained a conditional subpattern with only one branch (in |
| 8 |
particular, this includes all (DEFINE) patterns), a call to pcre_study() |
particular, this includes all (DEFINE) patterns), a call to pcre_study() |
| 9 |
computed the wrong minimum data length (which is of course zero for such |
computed the wrong minimum data length (which is of course zero for such |
| 10 |
subpatterns). |
subpatterns). |
| 11 |
|
|
| 12 |
2. For patterns such as (?i)a(?-i)b|c where an option setting at the start of |
2. For patterns such as (?i)a(?-i)b|c where an option setting at the start of |
| 13 |
the pattern is reset in the first branch, pcre_compile() failed with |
the pattern is reset in the first branch, pcre_compile() failed with |
| 14 |
"internal error: code overflow at offset...". This happened only when |
"internal error: code overflow at offset...". This happened only when |
| 15 |
the reset was to the original external option setting. (An optimization |
the reset was to the original external option setting. (An optimization |
| 16 |
abstracts leading options settings into an external setting, which was the |
abstracts leading options settings into an external setting, which was the |
| 17 |
cause of this.) |
cause of this.) |
| 18 |
|
|
| 19 |
|
3. A pattern such as ^(?!a(*SKIP)b) where a negative assertion contained one |
| 20 |
|
of the verbs SKIP, PRUNE, or COMMIT, did not work correctly. When the |
| 21 |
|
assertion pattern did not match (meaning that the assertion was true), it |
| 22 |
|
was incorrectly treated as false if the SKIP had been reached during the |
| 23 |
|
matching. This also applied to assertions used as conditions. |
| 24 |
|
|
| 25 |
|
4. If an item that is not supported by pcre_dfa_exec() was encountered in an |
| 26 |
|
assertion subpattern, including such a pattern used as a condition, |
| 27 |
|
unpredictable results occurred, instead of the error return |
| 28 |
|
PCRE_ERROR_DFA_UITEM. |
| 29 |
|
|
| 30 |
|
|
| 31 |
Version 8.00 19-Oct-09 |
Version 8.00 19-Oct-09 |
| 32 |
---------------------- |
---------------------- |