Parse [range] in ex commands