adding delimiter and separators to regex spec