From b8a6f565cfca9f3a5074fde1693af898edf951c3 Mon Sep 17 00:00:00 2001 From: drry Date: Wed, 9 Apr 2008 06:01:59 +0000 Subject: lang/javascript/vimperator-plugins/trunk/direct_hb.js lang/javascript/vimperator-plugins/trunk/direct_delb.js: * 正規表現を修正しました。 * ほか。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@9170 d0d07461-0603-4401-acd4-de1884942a52 --- direct_hb.js | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'direct_hb.js') diff --git a/direct_hb.js b/direct_hb.js index 20ee452..a3ef5ee 100644 --- a/direct_hb.js +++ b/direct_hb.js @@ -27,21 +27,17 @@ WSSEUtils.prototype = { - get userName(){ - return this._userName; - }, + get userName() + this._userName, - get noce(){ - return this._nonce; - }, + get noce() + this._nonce, - get created(){ - return this._created; - }, + get created() + this._created, - get passwordDigest(){ - return this._passwordDigest; - }, + get passwordDigest() + this._passwordDigest, getWSSEHeader: function(){ var result = [ @@ -210,7 +206,7 @@ },{ completer: function(filter){ //var match_result = filter.match(/(.*)\[(\w*)$/); //[all, commited, now inputting] - var match_result = filter.match(/(\[[^\]]*\])?(?:\[)?(.*)/); //[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],'i'); var completionList = []; -- cgit v1.2.3