From 6e12b3fdabff6dc48ac17e40f90a69aa4376b4d1 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 24 Feb 2015 15:16:12 +0100 Subject: [PATCH] Proper regex. --- lib/copy_this/www/lib/Categorize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copy_this/www/lib/Categorize.php b/lib/copy_this/www/lib/Categorize.php index a9814c8c3..1c83eb60b 100644 --- a/lib/copy_this/www/lib/Categorize.php +++ b/lib/copy_this/www/lib/Categorize.php @@ -831,7 +831,7 @@ class Categorize extends Category public function isXxxClipHD() { - if (preg_match('/^[\w.]+(\d{2}\.\d{2}\.\d{2})[\w.]+(M[PO][V4]-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH))/i', $this->releaseName)) { + if (preg_match('/^[\w-.]+(\d{2}\.\d{2}\.\d{2})[\w-.]+(M[PO][V4]-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH))/i', $this->releaseName)) { $this->tmpCat = \Category::CAT_XXX_CLIPHD; return true; }