New parser with regular expressions.