On 2012-07-09 05:20, Zoltán Herczeg wrote: >I have investigated this issue, and in the optimized case,
> PCRE_STARTLINE is set, so it searches the first newline.
> If DOTALL is set the result is the same. It seems that is_anchored() is in
action. I think PCRE must not assume such patterns as anchored.