[48265] trunk/base/src/port1.0/portlivecheck.tcl

Perry Lee perry at macports.org
Tue Mar 17 17:41:07 PDT 2009


On Mar 17, 2009, at 5:27 PM, David Evans wrote:
> Examples
>
> livecheck.name gimp or GIMP  selects the right but the regex needs  
> to match GIMP
> livecheck.name XviD, xvid, Xvid  selects the right project but the  
> regex needs to match Xvid
> livecheck.name xsane select the right project but the regex needs to  
> match XSane
>
> Hopefully you can see what I mean -- I'm not describing it well.
> So if one could construct a regex that would match the  
> livecheck.name in any case combination that

We could use the -nocase option ("Causes upper-case characters in  
string to be treated as lower case during the matching process") with  
regexp, but I'm not sure if we should be ignoring case.


More information about the macports-dev mailing list