http://qs321.pair.com?node_id=1218011


in reply to Re^2: Regex to detect file name
in thread Regex to detect file name

This is not a game of Name That Tune. There are no brownie-points for doing it in one regex versus two. If it does the job, is clear, and easy to maintain, Just Do It.