31f7950dbe
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
11 lines
509 B
Text
11 lines
509 B
Text
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)
|
|
|
|
WWW: http://www.gnu.org/software/gnulib/
|