pcre-3.9

Introduction to pcre

Download location (HTTP):       http://pcre.sourceforge.net/src/pcre-3.9.tar.bz2
Download location (FTP):        ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-3.9.tar.bz2
Version used:                   3.9
Package size:                   255 KB
Estimated Disk space required:  2.1 MB

The pcre package contains perl compatible regular expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5.

Installation of pcre

Install pcre by running the following commands:

./configure --prefix=/usr &&
make &&
make install


Configuring pcre

Configuration Information

As with most libraries, there is no configuration to do, save that the library directory i.e. /usr/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run whilst logged in as root.

Contents

The pcre package contains the pcre libraries, pcregrep, pcretest and pcre-config.

Description

pcregrep

pcregrep is a grep that understands perl compatible regular expressions.

pcretest

pcretest can test your perl compatible regular expression.

pcre-config

pcre-config is used during the compile process of programs linking to this library.