Added namedGroups property to Regex struct.