writing regexp prototype, moving regexp parser, trying to understand the spec, asking myself how to beat myself and compile the regexp into an automaton with state and delta function