BSD Ports

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

SystemPortVersion
MidnightBSDdevel/libgnuregex6.0
FreeBSDdevel/libgnuregex6.0_1
DragonFlydevel/libgnuregex6.0
HardenedBSDdevel/libgnuregex6.0_1
GhostBSDdevel/libgnuregex6.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

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