libgnuregex is the regex subset of Gnulib, the GNU portability library. The
regex subset offers an extension of the regex(3) API to allow more flexibility
in the flavor of regular expressions. libgnuregex also enhances POSIX
regular expressions with more features and shorthand, such as:
- \b and \B (word boundary, not word boundary)
- \s and \S ([[:space:]], [^[:space:]])
- \w and \W ([[:alnum:]], [^[:alnum:]])
- \` and \' (beginning of subject, end of subject)
devel/libgnuregex: Fix undefined symbol in the resulting library
PR: 294168
Reported by: Ben Grimm <freebsd@bengrimm.net>
Approved by: portmgr (fixit blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
[NEW PORT] devel/libgnuregex: GNU regex(3) extension library
This version of libgnuregex is based on the latest version of devel/gnulib
in the tree, and is intended as a direct replacement for the libgnuregex
that has been historically provided in base.
A port was chosen over all consumers dragging in devel/gnulib to save
rebuilds since more than ~5 consumers need libgnuregex, and this also makes
for an easier migration as ports just need to bring in the port and make
sure LOCALBASE/lib and LOCALBASE/inclue are included.
It is currently expected that ports dependant on this will fully specify the
shlib version against ports tree convention so that we can provide a
consistent experience across all versions of FreeBSD, past and future, using
a less-broken version of the library.
PR: 252245