Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
PCRESAMPLE(3) | Library Functions Manual | PCRESAMPLE(3) |
NAME
PCRE - Perl-compatible regular expressionsPCRE SAMPLE PROGRAM
A simple, complete demonstration program, to get you started with using PCRE, is supplied in the file pcredemo.c in the PCRE distribution. A listing of this program is given in the pcredemo documentation. If you do not have a copy of the PCRE distribution, you can save this listing to re-create pcredemo.c.gcc -o pcredemo pcredemo.c -lpcre
gcc -o pcredemo -I/usr/local/include pcredemo.c \
-L/usr/local/lib -lpcre
./pcredemo 'cat|dog' 'the cat sat on the mat'
./pcredemo -g 'cat|dog' 'the dog sat on the cat'
ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory
-R/usr/local/lib
10 January 2012 | PCRE 8.30 |