lib/onebox/engine/twitch_clips_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/twitch_clips_onebox.rb in onebox-1.8.23
- old
+ new
@@ -1,10 +1,10 @@
require_relative '../mixins/twitch_onebox'
class Onebox::Engine::TwitchClipsOnebox
def self.twitch_regexp
- /^https?:\/\/clips\.twitch\.tv\/([a-zA-Z0-9_]+\/?[^#\?\/]+)/
+ /^https?:\/\/clips\.twitch\.tv\/([a-zA-Z0-9_]+\/?[^#\?\/]+)/
end
include Onebox::Mixins::TwitchOnebox
def query_params
"clip=#{twitch_id}"