port lookahead support to minified parseArgs function