added improved parsing of bounded/unbounded repetition, and tests