diff --git a/lib/phpapc.pm b/lib/phpapc.pm
index f6c39c8..875ebe8 100644
--- a/lib/phpapc.pm
+++ b/lib/phpapc.pm
@@ -164,7 +164,7 @@ sub phpapc_update {
my ($used) = ($data =~ m/<\/span>Used:\s+.*?\((\d+\.\d+)%\)<\/td>/);
my ($missed) = ($data =~ m/<\/span>Misses:\s+.*?\((\d+\.\d+)%\)<\/td>/);
- my (undef, $cachf, $cachs, $cache_suffix) = ($data =~ m/
File Cache Information<\/h2>.*?Cached (Files|Variables)<\/td>(\d+)\s+\(\s*(\d+\.\d+)\s+(\S+Bytes)\)/);
+ my (undef, $cachf, $cachs, $cache_suffix) = ($data =~ m/.*?Cache Information<\/h2>.*?Cached (Files|Variables)<\/td>(\d+)\s+\(\s*(\d+\.\d+)\s+(\S+Bytes)\)/);
my $str = $e . "cachf";
my $cachfps = $cachf - ($config->{phpapc_hist}->{$str} || 0);
$cachfps = 0 unless $cachfps != $cachf;
| |