How to solve complex problems through the creation of a simple pattern scanner.