Use strings.HasSuffix/HasPrefix to append ^ and $
Add @maurodec implementation "MatchAllWithDot"
Move helpers functions
Boolean argument to add or remove DOTALL
Adapt test to use boolean for DOTALL