I am looking for a regexp.QuoteMeta backlink . Is there such a function?
I tried to manually cancel it with strings.Replace("\", "", -1), but this is error prone / unreliable, as it does not work in all cases (i.e. with excessive escaping or unicode).
I also tried adding some quotes and using strconv.Unquote (e.g. strconv.Unquote( " + "https:\/\/ad.doubleclick.net" +" ) ), but it is wrong,
source
share