I am trying to find words in a large text file. The MatchString
method doesn't inherently look for exact word match, rather it looks for the pattern as it should.
How does one check for exact word match using regexp package in Golang? I have tried some regex'es i found on SO, but it didn't work.