Detect a repeat spec and normalise it into a RepeatDescriptor. Returns null when the spec is not a (well-formed) repeat.
repeat
null
Detect a
repeatspec and normalise it into a RepeatDescriptor. Returnsnullwhen the spec is not a (well-formed) repeat.