diff --git a/notebook/static/notebook/js/searchandreplace.js b/notebook/static/notebook/js/searchandreplace.js index 8af53b2baf..8c7d550160 100644 --- a/notebook/static/notebook/js/searchandreplace.js +++ b/notebook/static/notebook/js/searchandreplace.js @@ -69,7 +69,6 @@ define(function(require){ body.append($('

').addClass('bg-warning').text("Warning, too many matches ("+html.length+"+), some changes might not be shown or applied")); } else { body.append($('

').addClass('bg-info').text(html.length+" match"+(html.length==1?'':'es'))); - } for(var rindex=0; rindex') @@ -135,7 +134,7 @@ define(function(require){ res.push([match.index, match.index+match[0].length]); escape_hatch++; if(escape_hatch > 100){ - console.warn("More than 100 matches, aborting"); + console.warn("More than 100 matches, aborting"); abort = true; break; } @@ -156,7 +155,7 @@ define(function(require){ .attr('id', 'isreg') .addClass("btn btn-default") .attr('data-toggle','button') - .attr('title', 'use regular expression (now you have N+1 problems)') + .attr('title', 'Use regex (JavaScript regex syntax)') .text('.*'); var onlySelectedButton = $('