if ($file=~m#((?:[^<]+|<(?!/?first>))+)(?:[^<]+|<(?!/?first>))+(maps)#i) { print "\n$1 == $2"; }