while (<DATA>) { s/\\n/\n/g; print "yep\n" if /$PRE($VALID1+)$PST/; } [download]
In reply to Re: parsing file/regex question by tadman in thread parsing file/regex question by smackdab