media.lua pattern fix

This commit is contained in:
Akamaru 2015-08-02 22:07:07 +02:00
parent 18f1966138
commit 790c5d96cf
1 changed files with 17 additions and 17 deletions

View File

@ -45,23 +45,23 @@ return {
description = "Wenn ein User eine Medien-Datei sendet (gif, mp4, pdf, etc.), wird es gedownloadet und gesendet.",
usage = {""},
patterns = {
"(https?://[%w-_%.%?%.:/%+=&]+%.(gif))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(mp4))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(pdf))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(ogg))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(zip))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(tar.gz))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(7z))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(mp3))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(rar))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(wmv))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(doc))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(avi))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(wav))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(apk))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(webm))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(ogv))$",
"(https?://[%w-_%.%?%.:/%+=&]+%.(webp))$"
"^(https?://[%w-_%.%?%.:/%+=&]+%.(gif))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(mp4))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(pdf))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(ogg))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(zip))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(tar.gz))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(7z))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(mp3))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(rar))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(wmv))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(doc))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(avi))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(wav))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(apk))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(webm))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(ogv))$",
"^(https?://[%w-_%.%?%.:/%+=&]+%.(webp))$"
},
run = run
}