in reply to RE: Re: ^x* vs x*$
in thread ^x* vs x*$
Still looks to me like a bug.
Where did the second return come from?perl -e '$str = "Hello World\n"; $str =~ s/\r?\n?$/\n/g; print $str;'
At the least after matching $ you should not match a zero-width assertion at that point again. IMHO and all that.
I will send that bug report in shortly.
|
---|