From 7543cfc6863832c79870ea494c81b63aadc78ef3 Mon Sep 17 00:00:00 2001 From: drry Date: Tue, 16 Dec 2008 14:48:43 +0000 Subject: * fixed regexes. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26897 d0d07461-0603-4401-acd4-de1884942a52 --- haiku.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haiku.js') diff --git a/haiku.js b/haiku.js index 410e97b..39176c9 100644 --- a/haiku.js +++ b/haiku.js @@ -177,7 +177,7 @@ '
'; - } else if (/^http:\/\/www\.nicovideo\.jp\/watch\/([-\w]+)$/.test(all)){ + } else if (/^http:\/\/[^.]+\.nicovideo\.jp\/watch\/([-\w]+)$/.test(all)){ str = ''; } else if (all.charAt(0) == "["){ -- cgit v1.2.3