Simplify ParserURL.parse, check different regexps in single match clause