Changeset 9226 for lang/javascript
- Timestamp:
- 04/10/08 01:29:57 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/direct_hb.js
r9170 r9226 1 1 // Vimperator plugin: 'Direct Hatena Bookmark' 2 // Last Change: 02-Apr-2008. Jan 20082 // Last Change: 10-Apr-2008. Jan 2008 3 3 // License: Creative Commons 4 4 // Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid … … 207 207 completer: function(filter){ 208 208 //var match_result = filter.match(/(.*)\[(\w*)$/); //[all, commited, now inputting] 209 var match_result = filter.match(/( \[[^\]]*\])?\[?(.*)/); //[all, commited, now inputting]209 var match_result = filter.match(/((?:\[[^\]]*\])*)?\[?(.*)/); //[all, commited, now inputting] 210 210 //var m = new RegExp("^" + match_result[2]); 211 211 var m = new RegExp(XMigemoCore ? "^(" + XMigemoCore.getRegExp(match_result[2]) + ")" : "^" + match_result[2],'i');
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)