diff --git a/inxi b/inxi index 533f997..d0189cc 100755 --- a/inxi +++ b/inxi @@ -7387,8 +7387,8 @@ sub cpu_cache_dmi { last if $item[0] > 7; ($id,$amount) = ('',0); foreach my $value (@item){ - # variants: L3 - Cache; L3 Cache - if ($value =~ /^Socket Designation: (L[1-3])\s/){ + # variants: L3 - Cache; L3 Cache; L3-cache + if ($value =~ /^Socket Designation: (L[1-3])\b/){ $id = $1; } if ($value =~ /^Installed Size: (.*B)$/){