diff options
author | anekos | 2011-07-01 22:51:35 +0900 |
---|---|---|
committer | anekos | 2011-07-01 22:51:49 +0900 |
commit | 867e46ea76e40f4da8c11bd67345a5876bdd3ac4 (patch) | |
tree | ab33b6ff527c8135c5509a7977b39d9a940d0527 /gmail-commando.js | |
parent | 98722e8709e14ee974a9072cacd7e8079be1af4b (diff) | |
download | vimperator-plugins-867e46ea76e40f4da8c11bd67345a5876bdd3ac4.tar.bz2 |
Fix regexp no are
Diffstat (limited to 'gmail-commando.js')
-rw-r--r-- | gmail-commando.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gmail-commando.js b/gmail-commando.js index 8a33b0c..98ecf3f 100644 --- a/gmail-commando.js +++ b/gmail-commando.js @@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE. // INFO {{{ let INFO = <> - <plugin name="GMailCommando" version="1.4.8" + <plugin name="GMailCommando" version="1.4.9" href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/gmail-commando.js" summary="The handy commands for GMail" lang="en-US" @@ -395,7 +395,7 @@ let INFO = if (m[2]) { context.advance(input.length - m[2].length); } else { - let tail = /[^\s]*$/(m[3]); + let tail = /[^\s]*$/.exec(m[3]); context.advance(input.length - tail[0].length); } let key = m[1]; |