How to properly formulate search for a maintainer?

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Oct 27 14:29:38 PDT 2010


> So yes. You can use regular expression syntax.
> 
> And actually \s is better than \W.
> 
> You might think you could just do:
> 
> port echo 'maintainer:^mk$'
> 
> But this matches the entire maintainer line, not each maintainer on the line individually; this wouldn't catch ports that you maintain with openmaintainer or with another maintainer. So you really want:
> 
> port echo 'maintainer:(\s|^)mk(\s|$)'
> 
> So this says to match whitespace or beginning of line, then "mk", then whitespace or end of line.

Sounds like a candidate for the Committers Tips and Tricks page.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6308 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20101027/2bb82914/attachment-0001.bin>


More information about the macports-dev mailing list