Add explanation of the profile feedback build to the README
[gitweb.git] / gitweb / gitweb.perl
index ebf2d1cf2c338e0f5e43f7220abcd8564294eb41..1b83a8d0a0adca8ffcc948bdca55d1f8e2bbaa48 100755 (executable)
@@ -2644,7 +2644,7 @@ sub git_get_project_ctags {
                        close $ct;
 
                        (my $ctag = $tagfile) =~ s#.*/##;
-                       if ($val =~ /\d+/) {
+                       if ($val =~ /^\d+$/) {
                                $ctags->{$ctag} = $val;
                        } else {
                                $ctags->{$ctag} = 1;