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.
In reply to RE (tilly) 3: ^x* vs x*$
by tilly
in thread ^x* vs x*$
by Carl-Joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |