Added escape-regexp but realizing there is a lot more than slicing strings