From 5a3d7461d6c6a761cde39c28ac0b7ce6e47a6765 Mon Sep 17 00:00:00 2001 From: Michal Prochazka Date: Fri, 10 Oct 2014 10:27:42 +0200 Subject: [PATCH] Fix in regex. --- lib/common/Constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/Constants.php b/lib/common/Constants.php index ef892887..c017764e 100644 --- a/lib/common/Constants.php +++ b/lib/common/Constants.php @@ -67,7 +67,7 @@ final class Constants { 'CentOS release ([\w.-]+) .*' => 'CentOS Linux ${1}', 'Fedora ([\w.-]+)' => 'Fedora Linux ${1}', 'SUSE LINUX ([\w.-]+)' => 'SUSE Linux ${1}', - 'Debian ([\w.-/]+)' => 'Debian ${1}', + 'Debian ([\w.-\/]+)' => 'Debian ${1}', ); # Where to put OS names which do not have any mapping