Parse extension ranges.