From c6132049a34660455679be72c0511e12b19c8340 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 11 Nov 2007 10:03:11 +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 67ec7ce3..ed0ad6fc 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; }