// stripComments removes any comments from the line and returns the stripped
// line
stripComments removes any comments from the line and returns the stripped
line
// stripComments removes any comments from the line and returns the stripped // line
func stripComments(dfr *DFReader, state *dfReadState, _ *DF) (bool, error) {
	if dfr.commentRegex == nil {
		return false, nil
	}
	parts := dfr.commentRegex.Split(state.line, -1)
	state.line = parts[0]
	return false, nil
}
func stripComments ( dfr * DFReader , state * dfReadState , _ * DF ) ( bool , error ) { if dfr . commentRegex == nil { return false , nil } parts := dfr . commentRegex . Split ( state . line , - 1 ) state . line = parts [ 0 ] return false , nil }
stripComments removes any comments from the line and returns the stripped
line
stripComments removes any comments from the line and returns the stripped line