From b409669eeec4942951f30818b1140ef43cf3d441 Mon Sep 17 00:00:00 2001 From: trapezoid Date: Wed, 2 Apr 2008 08:59:18 +0000 Subject: lang/javascript/vimperator-plugins/trunk/direct_hb.js: apply ignorecase git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8656 d0d07461-0603-4401-acd4-de1884942a52 --- direct_hb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'direct_hb.js') diff --git a/direct_hb.js b/direct_hb.js index 39fe3bb..cb9b45d 100644 --- a/direct_hb.js +++ b/direct_hb.js @@ -1,5 +1,5 @@ // Vimperator plugin: 'Direct Hatena Bookmark' -// Last Change: 28-Mar-2008. Jan 2008 +// Last Change: 02-Apr-2008. Jan 2008 // License: Creative Commons // Maintainer: Trapezoid - http://unsigned.g.hatena.ne.jp/Trapezoid // Parts: @@ -214,7 +214,7 @@ //var match_result = filter.match(/(.*)\[(\w*)$/); //[all, commited , now inputting] var match_result = filter.match(/(\[.*\])?(?:\[)?(.*)/); //[all, commited , now inputting] //var m = new RegExp("^" + match_result[2]); - var m = new RegExp(XMigemoCore ? "^(" + XMigemoCore.getRegExp(match_result[2]) + ")" : "^" + match_result[2]); + var m = new RegExp(XMigemoCore ? "^(" + XMigemoCore.getRegExp(match_result[2]) + ")" : "^" + match_result[2],'i'); var completionList = []; for(var i in liberator.plugins.hatena_tags) if(m.test(liberator.plugins.hatena_tags[i])){ -- cgit v1.2.3