parser can parse index ranges