Pattern matching requires using past experience, logic, or theory before the job begins to specify what we expect to find.
Logic has an effect as to how pattern matching functions.
She went back to her plastic surgeon, and after he fixed them she admired his handiwork so much that a romance between the two might have ensued, says the publication.