refining ParsePattern
starting ParseArgv implementation