print<<R x10 perlmonks rule! R [download]
"perlmonks rule!\n"=~/.*?(??{print;$"})/; [download]
In reply to Re: regex/perl golf: loops by brx in thread regex/perl golf: loops by Anonymous Monk