Migration script updated with the regexp changes