in reply to
first two words-pattern matching
your file seems to be a csv file. Wich is not seperated by commas but by tabs. But the seperator is not important.
Maybe the Text::CSV module or other modules about csv can help you as well.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (67 votes),