index.js
function(piece, quote_char, position = 0) {
			var i = position - 1; //-1 because we're incrementing it
			do {
				i = piece.indexOf(quote_char, i+1);
			} while(piece.charAt(i-1) === '\\');
			return i;
		}
function(piece, quote_char, position = 0) {
			var i = position - 1; //-1 because we're incrementing it
			do {
				i = piece.indexOf(quote_char, i+1);
			} while(piece.charAt(i-1) === '\\');
			return i;
		}
function ( piece , quote_char , position = 0 ) { var i = position - 1 ; //-1 because we're incrementing it
 do { i = piece . indexOf ( quote_char , i + 1 ) ; } while ( piece . charAt ( i - 1 ) === '\\' ) ; return i ; }
Returns the index of the first unescaped quote in the piece
@private
@param  {string} piece        The piece to evaluate.
@param  {string} quote_char   The quote character, either " or '.
@param  {number} [position=0] Where to begin looking in the string
@return {number}              The index of the first quote.
Returns the index of the first unescaped quote in the piece