http://qs1969.pair.com?node_id=498772


in reply to Re: Help with Multiple line RegEx
in thread Help with Multiple line RegEx

Yes, This is good

But I think it can all be done in one liner!

Like Browser_UK suggestion.
$Rec->{$1} = $2 if ($_=~ /-+\s+show (switchname)\s+-+\n(\w+)\n\*+/mg);
Blackadder