> On Aug 14, 2018, at 2:55 PM, Mark Millard via freebsd-ports > <freebsd-ports@freebsd.org> wrote: > > > Dan Langille dan at langille.org wrote on > Tue Aug 14 17:54:01 UTC 2018 : > >> . . . >> At https://dev.freshports.org/www/p5-CGI/ you can see: >> >> CONFLICTS: p5-CGI.pm-[1-3]* >> . . . >> To extract the PKGNAME values from the CONFLICTS I will need to remove >> everything after the trailing dash. >> . . . > > p5- > vs. > p5-CGI.pm- > vs. > p5-CGI.pm-[1- > > It looks to me like "trailing dash" probably has a > complicated definition where some "-"(s) may exist > that are to be ignored after the one of interest. > In the example I'm guessing that the middle > "-" is intended (so "p5-CGI.pm-").
Agreed. The hard part is identifying the regex and deleting it from consideration. -- Dan Langille - BSDCan / PGCon d...@langille.org _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"