]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix: Restore fix for Perl 5.14+
authoreldy <>
Fri, 8 Mar 2013 20:14:17 +0000 (20:14 +0000)
committereldy <>
Fri, 8 Mar 2013 20:14:17 +0000 (20:14 +0000)
wwwroot/cgi-bin/awstats.pl

index 921a44f758a3cb00bfbc8834506fc847ccb8f573..feb7a813a4849b00eb467f2fe6b5af3115fdfcd1 100644 (file)
@@ -7817,7 +7817,8 @@ sub DecodeEncodedString {
 # Return:              standardregex
 #------------------------------------------------------------------------------
 sub UnCompileRegex {
-       shift =~ /\(\?[-\w]*:(.*)\)/;
+       shift =~ /\(\?[-^\w]*:(.*)\)/;         # Works with all perl
+       # shift =~ /\(\?[-\w]*:(.*)\)/;        < perl 5.14
        return $1;
 }