Allow to have optional values in regexes. Thanks T. Peck!