rem: if (!i) return; 
context: searchController.showResults = function(re, input) {	var match = input.match(re);	if(!match) {		$('search-summary').innerHTML = '<span class="nomatch">No match.</span>';		$('search-details').innerHTML = '';		return;	}		var s = '';	var label = 'Groups';    var prefix = '';    var suffix = '';	if (re.global) {		label = 'Matches';		s = replaceCallback(input, re,			   function (seg) {return escapeTag(seg, 'em')},			   function (seg) {return escapeTag(seg, 'span', {'class': 'prefix'})});	} else {		prefix = input.slice(0, match.index);		suffix = input.slice(input.match(re).index + match[0].length);		s  = escapeTag(prefix, 'span', {'class': 'prefix'});		s += escapeTag(match[0], 'em');		s += escapeTag(suffix, 'span', {'class': 'suffix'});	}		s = escapeTag(re.toString(), 'kbd')+' matches '+contentTag(s, 'tt');	$('search-summary').innerHTML = s;		var s = '';	if (prefix) s += 'Prefix = ' + escapeTag(prefix, 'tt')+'<br/>';	s += 'Match = ' + (match[0] ? escapeTag(match[0], 'tt') : "'' (empty string)")+'<br/>';	if (suffix) s += 'Suffix = ' + escapeTag(suffix, 'tt')+'<br/>';	if (match.length > 1) {		s += contentTag(label, 'span', {style: 'font-style: italic'}) + '<br/>';		match.each(function(m, i) {					   if (!i) return;                       if (m == undefined) return;                       s += '$'+i+' = '+escapeTag(m, 'tt') + '<br/>';				   });	}	$('search-details').innerHTML = s;}
meta: 5392	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5392/076ef7a4c57195e0dfaa0a288d48e1df7b3a7334/rework.js/clean/tools/reanimator/rework.js