Simple(very) regular expression parser