I\'m wanting to match ^(@|\\s)*{{string}}:? whereas {{string}} is dynamically defined. It may have periods and dashes and any number of things in it and I reall
^(@|\\s)*{{string}}:?
regexp.QuoteMeta does the deed.