tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compound depends



On Tue, Oct 25, 2011 at 09:09:02PM +0000, David Holland wrote:
>  >                         if (dep ~ /[{]/ || \
>  > -                           dep ~ />=[0-9][0-9\.]*<[0-9]+/ || \
>  > +                           dep ~ />=[0-9][0-9\.]*(nb[0-9]+)?<[0-9]+/ || \
>  >                             dep !~ />=[0-9]+/)
>  >                         {
>  >                                 reduced[N++] = dep ":" pkgsrcdirs[pkgpath]
> 
> Will that work on versions like "3.3beta6"? I don't think so...

Agreed. I think it should just match all patterns containing >= and <,
but no {} and *.

Joerg


Home | Main Index | Thread Index | Old Index