in reply to Finding Patterns
Dominus wrote a great article on a pattern-finding technique on the Perl Quiz of the Week mailing list. (The new quiz is just out, btw.)
Here's the relevant quiz, Dominus' solution, and his description of his thinking.
Updated: fixed link to Dominus' home node.
Results (12 votes). Check out past polls.