\w includes \d

This commit is contained in:
ccd0 2019-06-24 02:53:10 -07:00
parent 9a27ef7118
commit 5ebcaffbd7

View File

@ -391,7 +391,7 @@ Embedding =
src: "https://www.strawpoll.me/embed_1/#{a.dataset.uid}"
,
key: 'Streamable'
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/([\w\d]+)/
regExp: /^\w+:\/\/(?:www\.)?streamable\.com\/(\w+)/
el: (a) ->
el = $.el 'iframe',
src: "https://streamable.com/o/#{a.dataset.uid}"