Parses the string representation of the range to create a nmrange instance.
the string representation of a range
the nmrange or null