Add documentation header, fix regex

The old regex `(went|go(ing|es))?` won't match on `go for it` and would match on ` for it`. This fixes that.

Also added a documentation header.
Merge pull request #1237 from rgbkrk/patch-4

Add documentation header, fix regex