Skip to content

Commit

Permalink
Fixes youtube regex
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Apr 12, 2012
1 parent b101d1e commit 8c3b7d4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,7 +1,7 @@
class Kandan.Plugins.YouTubeEmbed

@options:
regex: /^http(s)?:\/\/www.youtube.com\/watch/i
regex: /^http(s)?.+www.youtube.com.+watch/i
idRegex: /\Wv=([\w|\-]*)/

template: _.template '''
Expand Down

0 comments on commit 8c3b7d4

Please sign in to comment.