In go, how do I detect \ back slash character itself?
str := "I have Hello \"World\""
var validID = regexp.MustCompile(`[.!?]`)
this is how I detect . ! ? characters but
var validID = regexp.MustCompile(`[\]`)
does not detect the backslash in the string.
How do I denote backslash in go regular expression?