diff --git a/common/content/finder.js b/common/content/finder.js index 8ed0f1eb..356a99ac 100644 --- a/common/content/finder.js +++ b/common/content/finder.js @@ -28,7 +28,7 @@ const RangeFinder = Module("rangefinder", { let highlighted = this.rangeFind && this.rangeFind.highlighted; let selections = this.rangeFind && this.rangeFind.selections; let regexp = false; - let matchCase = !(options["ignorecase"] || options["smartcase"] && !/[A-Z]/.test(str)); + let matchCase = options["smartcase"] && /[A-Z]/.test(str) || !options["ignorecase"]; let linksOnly = options["linksearch"]; str = str.replace(/\\(.|$)/g, function (m, n1) {