1. A method comprising: receiving at least one portion of an input string of data; producing a fingerprint of the portion of the input string of data; comparing the fingerprint of the portion of the string of data to at least one predefined fingerprint of at least one predefined substring, wherein the predefined substring includes a portion of at least one predefined pattern of interest; and if the fingerprints match, initiating pattern recognition on the input string of data.