Added the ability to set different regexes to parsing the same type.