From ca8e6f4529857e26da4047da3adef9d77e9b0c88 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 11 Nov 2007 02:00:25 +0000 Subject: [PATCH] finish changing linksearch to work with \[lL] rather than \[uU] modifiers --- content/find.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/find.js b/content/find.js index 39a9a302..efe01889 100644 --- a/content/find.js +++ b/content/find.js @@ -81,7 +81,7 @@ vimperator.Search = function () //{{{ links_only = false; // strip links-only modifiers - pattern = pattern.replace(/(\\)?\\[uU]/g, function ($0, $1) { return $1 ? $0 : ""; }); + pattern = pattern.replace(/(\\)?\\[lL]/g, function ($0, $1) { return $1 ? $0 : ""; }); // case sensitivity - \c wins if both modifiers specified if (/\c/.test(pattern)) @@ -99,7 +99,7 @@ vimperator.Search = function () //{{{ pattern = pattern.replace(/(\\)?\\[cC]/g, function ($0, $1) { return $1 ? $0 : ""; }); // remove any modifer escape \ - pattern = pattern.replace(/\\(\\[cCuU])/g, "$1"); + pattern = pattern.replace(/\\(\\[cClL])/g, "$1"); search_string = pattern; }