Support Youtube links with "_" in their URL

Noticed when https://www.youtube.com/watch?v=rE3j_RHkqJc didn't gen anything.
This commit is contained in:
Brayden 2015-03-24 19:56:05 -07:00
parent b2165a0983
commit cf16172072

View File

@ -31,10 +31,10 @@ return {
description = "Sends YouTube info and image.",
usage = "",
patterns = {
"youtu.be/([A-Za-z0-9-]+)",
"youtube.com/watch%?v=([A-Za-z0-9-]+)",
"youtu.be/([_A-Za-z0-9-]+)",
"youtube.com/watch%?v=([_A-Za-z0-9-]+)",
},
run = run
}
end
end