How to properly formulate search for a maintainer?

Marko Käning MK-MacPorts at techno.ms
Wed Oct 27 14:32:47 PDT 2010


>> 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:
that's understandable! :)

>> 
>> port echo 'maintainer:(\s|^)mk(\s|$)'
>> 
>> So this says to match whitespace or beginning of line, then "mk", then whitespace or end of line.
Yep, I got that.


More information about the macports-dev mailing list