Escape special characters in a regexp