--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> Original string: "\r\nGoodbye\r\n\r\n"
> 
> regex applied to put "Hello" on empty lines
> 
> Result with 1.5.2 and PCRE 7 "any":
> 
> Hello\r\nGoodbye\rHelloHello\nHello\r\n
> 
> Julien said: -the last empty line doesn't match because the plugin
> doesn't even try as the string has now been fully consumed (is that
> yet another bug?)
> 
> I'm struggling to understand what you're saying. There were two empty
> lines in the input string. Surely the last "Hello" in the replacement
> is there because it matched the last one?

I think Julien explained with CRLF build:
Hello\r\nGoodbye\r\nHelloHello\r\n

Sean

Reply via email to