aboutsummaryrefslogtreecommitdiffstats
path: root/direct_hb.js
diff options
context:
space:
mode:
authortrapezoid2008-04-02 08:59:18 +0000
committertrapezoid2008-04-02 08:59:18 +0000
commitb409669eeec4942951f30818b1140ef43cf3d441 (patch)
tree00159bf938177e429f8e8d241fcefcd31ac63923 /direct_hb.js
parentfa382b33e666784f6e6fe5d9658d53b4082486c1 (diff)
downloadvimperator-plugins-b409669eeec4942951f30818b1140ef43cf3d441.tar.bz2
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
Diffstat (limited to 'direct_hb.js')
-rw-r--r--direct_hb.js4
1 files changed, 2 insertions, 2 deletions
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 <trapezoid.g@gmail.com> - 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])){