in reply to Re: Pattern match arrayin thread Pattern match array
The fact that the lines aren't chomped means that you'll never get a match (unless on the last line, if it lacks a newline).