> Yes, sort of: > > function is_updated ($up_vers, $debian_vers) { > if ($up_vers=='') return 0; > if (!(($debian_vers =~ /\d+\.?/) && ($up_vers =~ /\d+\.?/))) return 0; > ... > } > > I did some tests and I think that the results of the regex match above > are flexible enough to not break anything, see the results: >
Thanks for the suggestion.. but i think that is not the solution. I.e. what we do when we have packages versions like this packages: mysql-dfsg-5.1 or this one directfb or this one libtheora[1]? [1]http://dehs.alioth.debian.org/no_updated.html Cheers, Ste -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]