modified regex to allow https and youtu.be URLs

This commit is contained in:
Ravi Ranjan 2019-10-04 14:21:16 +01:00
parent eadf4601ba
commit 134ccf1bf9
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@
</urlFormat> </urlFormat>
<urlPattern> <urlPattern>
<![CDATA[ <![CDATA[
(http://www.youtube.com/user/[^#]*[^\n]*/(?<id>[^&]*)|^http://(.+\.)?youtube.com/watch(\?|\#!)v=(?<id>[^&]*)) ((http|https)://www.youtube.com/user/[^#]*[^\n]*/(?<id>[^&]*)|^(http|https)://(.+\.)?youtube.com/watch(\?|\#!)v=(?<id>[^&]*)|^(http|https)://youtu.be/(?<id>[^&]*))
]]> ]]>
</urlPattern> </urlPattern>
<size xpp:if="version lt 15.4.3104.0816"> <size xpp:if="version lt 15.4.3104.0816">