Added a basic regular-expression pattern reader, tokenizer and parser.