David Epstein wrote: > My inability to use the port search facility efficiently became evident on > this issue, since my search for the R-gui failed miserably. "port search R" > brings in every port with an r in its name. "man port" advertises that one > can use regular expressions in the search, but fails to point to a > particular set of regular expressions, ignoring the fact that there are many > "standard" collections of basic regular expressions, each likely to have a > different way of indicating word boundaries. I tried > port search "\<R\>" and also port search "\bR\b", > and was told there are no matches, even through "port info R works". Nor > could I figure out how to make the matching case-sensitive.
The man page is actually wrong. The search expression is evaluated as a glob, not a regex. `port search " R "` seems to do what you want. It's hard not to suspect that its creators were *trying* to make life hard when they chose a single-letter name... - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
