1. A method for scanning content, comprising: identifying tokens within an incoming byte stream, the tokens being lexical constructs for a specific language; identifying patterns of tokens; generating a parse tree from the identified patterns of tokens; and identifying the presence of potential exploits within the parse tree, wherein said identifying tokens, identifying patterns of tokens, and identifying the presence of potential exploits are based upon a set of rules for the specific language.