July 2007
Intermediate to advanced
128 pages
2h 39m
English
Applications using PCRE should look for the API prototypes in pcre.h, and include the actual library file, libpcre.a, by compiling with -lpcre.
Most functionality is contained in the functions pcre_compile( ), which prepares a regular expression data structure, and pcre_exec( ), which performs the pattern matching. You are responsible for freeing memory, although PCRE does provide pcre_free_substring( ) and pcre_free_substring_list( ) to help out.