in reply to (Regex Quiz) Multi-line Matching

I'm not too clear on the rules. Are we required to use the /foo$bar/m and /foo$^bar/m REs?

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;

Replies are listed 'Best First'.
Re: Re: (Regex Quiz) Multi-line Matching
by japhy (Canon) on May 22, 2001 at 23:24 UTC
    It's your job to find out why those fail. Then, describe how you would tackle the problem. You might not use an anchor at all, but explain why the two attempts fail.

    japhy -- Perl and Regex Hacker