naive regexp parsing using parsing combinator