Christoph Haas <[EMAIL PROTECTED]> writes: > On Wed, Jun 21, 2006 at 09:15:41AM -0300, Otavio Salvador wrote: >> Christoph Haas <[EMAIL PROTECTED]> writes: >> >> > So before diving into into regular expressions any further (I have no >> > practical experience with lookahead patterns for example) I would like >> > to know if anyone else has worked on this. Perhaps even some Debian tool >> > does this parsing. I need an implementation in Python but if someone >> > shows me Perl code of a non-regexp algorithm I'd be happy, too. >> >> Use apt_pkg.UpstreamVersion(). Is the easier way to do that. > > Wow, this is great. Just why did I implement half of that myself > already? :)
That's life ;-) hehehe -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: [EMAIL PROTECTED] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://www.freedom.ind.br/otavio --------------------------------------------- "Microsoft gives you Windows ... Linux gives you the whole house." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]