PARSER: handle regexp properly