Static detection of cross-site scripting vulnerabilities
Introduction to automata theory, languages, and computation, 2nd edition