lib/utils.js
function(src, skipBlanck) {
		var tokens = [],
			cells, cap;
		while (src) {
			cells = [];
			while (cap = cellDelimitter.exec(src)) {
				src = src.substring(cap[0].length);
				cells.push(cap[1]);
			}
			if (cells.length || !skipBlanck)
				tokens.push(cells);
			// src should start now with \n or \r
			src = src.substring(1);
		}
		return tokens;
	}
function(src, skipBlanck) {
		var tokens = [],
			cells, cap;
		while (src) {
			cells = [];
			while (cap = cellDelimitter.exec(src)) {
				src = src.substring(cap[0].length);
				cells.push(cap[1]);
			}
			if (cells.length || !skipBlanck)
				tokens.push(cells);
			// src should start now with \n or \r
			src = src.substring(1);
		}
		return tokens;
	}
function ( src , skipBlanck ) { var tokens = [ ] , cells , cap ; while ( src ) { cells = [ ] ; while ( cap = cellDelimitter . exec ( src ) ) { src = src . substring ( cap [ 0 ] . length ) ; cells . push ( cap [ 1 ] ) ; } if ( cells . length || ! skipBlanck ) tokens . push ( cells ) ; // src should start now with \n or \r src = src . substring ( 1 ) ; } return tokens ; }
Parse tab delimitted lines from string. usefull for raw macros and table like widgets rendering.
@param  {String} src        the content block to parse until the end.
@param  {Boolean} skipBlanck optional. if true, skip blank lines.
@return {Array}            Parsed lines. Array of cells array. i.e. lines[2][3] gives you third cell of second line.
Parse tab delimitted lines from string . usefull for raw macros and table like widgets rendering .