$capacity = $df_output =~ m[(\d+)%\s+/home$] ? $1 : 'Match Error';