Some fixes and adds

Append MatchAllWithDot from @maurodec
Move helpers
Use Go methods to test prefixes and suffixes