Permalink
Browse files

fix regex

  • Loading branch information...
1 parent 10b7d7a commit 28988fca045d9d261d3bf35d34cf13ad25aa2dff @pudge pudge committed Apr 17, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/Stats/Stats.pm
View
@@ -1354,7 +1354,7 @@ sub countDailyStoriesAccessRSS {
my $sid_hr = { };
my $regex_sid = regexSid();
for my $qs (keys %$qs_hr) {
- my($sid) = $qs =~ /sid=\b([\d/]+)\b/;
+ my($sid) = $qs =~ m{sid=\b([\d/]+)\b};
next unless $sid =~ $regex_sid;
$sid_hr->{$sid} ||= 0;
$sid_hr->{$sid} += $qs_hr->{$qs};

0 comments on commit 28988fc

Please sign in to comment.