Creating a Regexp – Getting Help


I want to make a regexp to extract the value of a string. I don’t know what is the problem with my function createRegexpFromIfmt in this example.
I believe the problem is with some characters escaping but don’t know…

When using this function, I do not get the expected result for fmt.Println(rr.FindStringSubmatch(v)) .

Thank you

Leave a Comment