--- apt 2020-11-05 12:11:06.000000000 +0000 +++ apt.fixed 2023-01-10 09:53:18.125810605 +0000 @@ -247,7 +247,7 @@ # # (Should only match the strings inside the double quotes.) - if (/^ (?: |\*\*\*) (\S*[^\s:]) (\d+)$/) { + if (/^ (?: |\*\*\*) (\S*[^\s:]) (\d+)(?: \(phased \d+%\))?$/) { $in_dist = ($1 eq $cand); $pinprio = $2; }