I would like to create a regexp to extract values of a string. I don’t know what the problem with my function createRegexpFromIfmt in this example.
I believe that the problem is about some characters to escape but don’t know…
When using this function, I don’t get the expected result for fmt.Println(rr.FindStringSubmatch(v)).