Also, don't forget to "chomp" your lines, otherwise all lines will match...
In reply to Re^2: what regular expression do I need? by hdb in thread what regular expression do I need? by Anonymous Monk