Changed all MatchResult in EndWithWord to construct error message lazily, and fixed inconsistency in error messages of endWith regex withGroup(s).