simplify regexp pat in cmd parser