From 56623ae50bb07123a3215a76fad1f78544d9c4ae Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 12 Feb 2011 02:53:31 +0900 Subject: @ にたいするアンカーの正規表現修正 --- twittperator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'twittperator.js') 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 = Twittperator Twitter Client using OAuth and Streaming API OAuth/StreamingAPI対応Twitterクライアント - 1.13.2 + 1.13.3 2.3 3.0 teramako @@ -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]; -- cgit v1.2.3