1
0
mirror of synced 2026-02-16 04:02:47 +00:00

prevent matching lines like "shadow_memory = 16"

This commit is contained in:
Philipp Erbelding
2012-11-08 12:38:48 +01:00
parent 8523d76c14
commit 70a30bb146

View File

@@ -323,7 +323,7 @@ sub displayInstance
{
$name = $1;
}
if ( $line =~ /.*memory[^0-9]*([0-9]+)/i )
if ( $line =~ /^\s*memory[^0-9]*([0-9]+)/i )
{
$mem = $1;
}