Help for this page
my (@match) = $str =~ /(?:^foo (?=(?:m \d+ )+bar)|(?<!^)\G)m (\d+) /g;
my (@match) = $str =~
/ (?: ^foo\ (?= (?:m\ \d+\ )+bar) # overall match from ^foo
m\ (\d+)\ # grab each digit sequence
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (512 votes). Check out past polls.