Updates expression parser to handle newlines and adds regexp literal.