Pattern matching is the process of checking a given sequence to identify recurring similarities. When enough similarities exist, they are flagged in the system as possible equivalents.