I am using golang regexp and I want to extract a pattern in a string.
For example, I can have the following name value pairs in the string:
I am looking for exactly the string "needle=haystack" and discard anything else.
It would be even better if I could just get the result to be exactly haystack.
How do I do this with regexp in golang?