Function Maybe-Split-Repetition
(
maybe-split-repetition < regex > < greedyp > < minimum > < maximum > < min-len > < length > < reg-seen > )
Splits a REPETITION object into a constant and a varying part if
applicable, i.e. something like
a{3,} -> a{3}a*
The arguments to this function correspond to the REPETITION slots of
the same name.