lib/assets/htmlMatcher.js
function(i) {
				var key = 'p' + i;
				
				if (!(key in memo)) {
					memo[key] = false;
					if (text.charAt(i) == '<') {
						var substr = text.slice(i);
						if ((m = substr.match(reOpenTag))) {
							memo[key] = openTag(i, m);
						} else if ((m = substr.match(reCloseTag))) {
							memo[key] = closeTag(i, m);
						}
					}
				}
				
				return memo[key];
			}
function(i) {
				var key = 'p' + i;
				
				if (!(key in memo)) {
					memo[key] = false;
					if (text.charAt(i) == '<') {
						var substr = text.slice(i);
						if ((m = substr.match(reOpenTag))) {
							memo[key] = openTag(i, m);
						} else if ((m = substr.match(reCloseTag))) {
							memo[key] = closeTag(i, m);
						}
					}
				}
				
				return memo[key];
			}
function ( i ) { var key = 'p' + i ; if ( ! ( key in memo ) ) { memo [ key ] = false ; if ( text . charAt ( i ) == '<' ) { var substr = text . slice ( i ) ; if ( ( m = substr . match ( reOpenTag ) ) ) { memo [ key ] = openTag ( i , m ) ; } else if ( ( m = substr . match ( reCloseTag ) ) ) { memo [ key ] = closeTag ( i , m ) ; } } } return memo [ key ] ; }
Matches either opening or closing tag for given position
@param i
@returns
Matches either opening or closing tag for given position