diff --git a/notebook/static/notebook/js/searchandreplace.js b/notebook/static/notebook/js/searchandreplace.js index d63d94060..e9eb93f74 100644 --- a/notebook/static/notebook/js/searchandreplace.js +++ b/notebook/static/notebook/js/searchandreplace.js @@ -37,7 +37,7 @@ define(function(require){ if(aborted){ 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+" matche"+(html.length==1?'':'s'))); + body.append($('

').addClass('bg-info').text(html.length+" match"+(html.length==1?'':'es'))); } for(var rindex=0; rindex") .addClass('form-control') .attr('placeholder','Search'); @@ -107,15 +107,23 @@ define(function(require){ .addClass("btn btn-default") .attr('data-toggle','button') .attr('title', 'use regular expression (now you have N+1 problems)') - .attr('value', '.*') .text('.*'); + var onlySelectedButton = $('