Added initial doc for optional and repetition regexes