Author: joeyh Date: 2005-03-25 02:19:28 +0000 (Fri, 25 Mar 2005) New Revision: 642 Modified: sarge-checks/checklist Log: more robust parsing of the list, don''t choke on lines with trailing whitespace Modified: sarge-checks/checklist ==================================================================--- sarge-checks/checklist 2005-03-24 23:48:27 UTC (rev 641) +++ sarge-checks/checklist 2005-03-25 02:19:28 UTC (rev 642) @@ -42,7 +42,7 @@ elsif (/^((?:DSA|CAN|CVE)-[^\s]+)/) { $id=$1; } - elsif (/^\s+[!-]\s+(.*?)\s+(.*)$/) { + elsif (/^\s+[!-]\s+(\S+)\s+(\S+)\s*$/) { my $package=$1; my $version=$2;