> The reason is that the line > if ($ap_ver[0] =~ /^ .*?\) \s+ (\d+) \. (\d+) (?:\.(\d+)) /x) > apparently matches > "PROGRAM_NAME (GNU PACKAGE_NAME) MAJ.MIN.PTC" > but it does not match > "PROGRAM_NAME (GNU PACKAGE_NAME) MAJ.MIN" > > The attached patch fixes it.
Patch merged, thank you. (I must have _meant_ to make that component optional, there's no other reason for the (?: ... ) wrapper to be there... I feel very silly now.) zw
