Do not use regexp in Parser#expand_range