avoid for in to generate the separatorPattern