aboutsummaryrefslogtreecommitdiffstats
path: root/direct_hb.js
diff options
context:
space:
mode:
authordrry2008-04-09 06:01:59 +0000
committerdrry2008-04-09 06:01:59 +0000
commitb8a6f565cfca9f3a5074fde1693af898edf951c3 (patch)
tree681d304a44436a00be750ed13a14c2a49134184b /direct_hb.js
parent99dd65177b999d89cb76768e2bb46a71f0efb842 (diff)
downloadvimperator-plugins-b8a6f565cfca9f3a5074fde1693af898edf951c3.tar.bz2
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
Diffstat (limited to 'direct_hb.js')
-rw-r--r--direct_hb.js22
1 files changed, 9 insertions, 13 deletions
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 = [];