func (e *edit) CommentOut(reLine []string) error {
	allSearch := make([]ReplacerAtLine, len(reLine))

	for i, v := range reLine {
		allSearch[i] = ReplacerAtLine{
			v,
			"[[:space:]]*" + e.CommentChar + "[[:space:]]*",
			"",
		}
	}

	return e.ReplaceAtLineN(allSearch, 1)
}
func (e *edit) CommentOut(reLine []string) error {
	allSearch := make([]ReplacerAtLine, len(reLine))

	for i, v := range reLine {
		allSearch[i] = ReplacerAtLine{
			v,
			"[[:space:]]*" + e.CommentChar + "[[:space:]]*",
			"",
		}
	}

	return e.ReplaceAtLineN(allSearch, 1)
}
func ( e * edit ) CommentOut ( reLine [ ] string ) error { allSearch := make ( [ ] ReplacerAtLine , len ( reLine ) ) for i , v := range reLine { allSearch [ i ] = ReplacerAtLine { v , " " + e . CommentChar + " " , " " , } } return e . ReplaceAtLineN ( allSearch , 1 ) }
// CommentOut removes the comment character of lines that mach any regular expression
// in reLine.
CommentOut removes the comment character of lines that mach any regular expression in reLine .