%general-entities; ]> pcre &pcre-version;
&pcre-url;
PCRE-&pcre-version; PCRE <para>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.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&pcre-ch6-sbu;</seg> <seg>&pcre-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of PCRE Prepare PCRE for compilation: ./configure --prefix=/usr \ --docdir=/usr/share/doc/pcre-&pcre-version; \ --enable-utf8 \ --enable-unicode-properties \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 The meaning of the configure options: --enable-utf8 This switch includes the code for handling UTF-8 character strings in the library. --enable-unicode-properties This switch enables Unicode properties support. --enable-pcregrep-lib* These switches enable the PCRE library to read files compressed with gzip and bzip2. Compile the package: make To test the results, issue: make check Install the package: make install The grep binary will be installed in /bin and will link against the PCRE library; as such, move the library to /lib: mv -v /usr/lib/libpcre.so.* /lib/ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so Contents of PCRE Installed programs Installed libraries Installed directories pcregrep, pcretest, and pcre-config libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a} /usr/share/doc/pcre-&pcre-version; Short Descriptions pcregrep A grep that understands Perl compatible regular expressions. pcregrep pcretest Tests a Perl compatible regular expression. pcretest pcre-config Used during the compilation process of programs linking to the PCRE libraries. pcre-config libpcre Provides functions useful for working with regular expressions. libpcre* libpcrecpp Provides C++ wrapper functions for the libpcre library. libpcrecpp* libpcreposix Provides wrapper functions based on the POSIX regular expression API. libpcreposix*