I wonder if that's not easier to just use a string `"\\^$*+?.[]{}-"` :-)