function extractCompletions( str ) {
	var cleanOutput;
	var out = [];
	var i;

	cleanOutput = replace( str, RE_EOL, '' ).split( /\s+/ );
	for ( i = 0; i < cleanOutput.length; i++ ) {
		if ( cleanOutput[i] !== '' ) {
			out.push( cleanOutput[ i ] );
		}
	}
	return out;
}
Extract completions from a TAB completions output string.

@private
@param {string} str - completions output
@returns {Array} array of completions