Swift : DOS attack via regular expressions possible