Some regexes for unique slug where did not have global flag.