aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2011-02-12 02:53:31 +0900
committeranekos2011-02-12 02:53:44 +0900
commit56623ae50bb07123a3215a76fad1f78544d9c4ae (patch)
tree01824707dec814d59ffd4545c2c30b2402d9e861 /twittperator.js
parent412d7c8279883ed399d11bdc19b279d25ba89a75 (diff)
downloadvimperator-plugins-56623ae50bb07123a3215a76fad1f78544d9c4ae.tar.bz2
@ にたいするアンカーの正規表現修正
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js
index c0e56bd..ee9eff8 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -2,7 +2,7 @@
* The MIT License
*
* Copyright (c) 2010 teramako
- * Copyright (c) 2010 anekos
+ * Copyright (c) 2010-2011 anekos
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +28,7 @@ let PLUGIN_INFO =
<name>Twittperator</name>
<description>Twitter Client using OAuth and Streaming API</description>
<description lang="ja">OAuth/StreamingAPI対応Twitterクライアント</description>
- <version>1.13.2</version>
+ <version>1.13.3</version>
<minVersion>2.3</minVersion>
<maxVersion>3.0</maxVersion>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
@@ -1513,7 +1513,7 @@ let PLUGIN_INFO =
}; // }}}
let Utils = { // {{{
anchorLink: function(str) { // {{{
- let m = str.match(/https?:\/\/\S+|@\S+/);
+ let m = str.match(/https?:\/\/\S+|@[a-zA-Z0-9_]+/);
if (m) {
let left = str.substr(0, m.index);
let center = m[0];