process regexen in order