lib/youtube_id.rb in youtube_id-0.0.1 vs lib/youtube_id.rb in youtube_id-0.0.2

- old
+ new

@@ -1,9 +1,9 @@ require "youtube_id/version" module YoutubeID FORMATS = [ - %r(https?://youtu\.be/(.+?)\b), + %r(https?://youtu\.be/(.+)), %r(https?://www\.youtube\.com/watch\?v=(.*?)(&|#|$)), %r(https?://www\.youtube\.com/embed/(.*?)(\?|$)), %r(https?://www\.youtube\.com/v/(.*?)(#|\?|$)), %r(https?://www\.youtube\.com/user/.*?#\w/\w/\w/\w/(.+)\b) ]