http://www.perlmonks.org?node_id=1064255


in reply to Re^2: Match 2 strings in same line
in thread Match 2 strings in same line

Yes, I was only able to answer based on the code you showed. The problem with the code you showed was the missing $line from the second regexp match. If there's still a problem after applying that change (which is still necessary), then you will have to move on to other issues, such as using \Q at the start of the first regexp.


Dave