prevent matching lines like "shadow_memory = 16"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user