devel/libgnuregex 6.0 MidnightBSD
GNU Regex Library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- lgpl
- Categories
- devel
Description
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)
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/libgnuregex | 6.0 |
| FreeBSD | devel/libgnuregex | 6.0_1 |
| DragonFly | devel/libgnuregex | 6.0 |
| HardenedBSD | devel/libgnuregex | 6.0_1 |
| GhostBSD | devel/libgnuregex | 6.0_1 |
Install
Binary package:
mport install libgnuregex
From mports:
cd /usr/mports/devel/libgnuregex && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libgnuregex>0:devel/libgnuregex
LIB_DEPENDS= libgnuregex.so:devel/libgnuregex
Dependencies
As this port's Makefile names them.
Extract 1
gnulib>0: devel/gnulib
Build dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- uidfix
- Service scripts
- none
Files
pkg-plist 5
- include/gnu/regex.h
- include/gnuregex.h
- lib/libgnuregex.a
- lib/libgnuregex.so
- lib/libgnuregex.so.6