/[pcre]/code/trunk/doc/pcre_compile.3
ViewVC logotype

Diff of /code/trunk/doc/pcre_compile.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 231 by ph10, Tue Sep 11 11:15:33 2007 UTC
# Line 7  PCRE - Perl-compatible regular expressio Line 7  PCRE - Perl-compatible regular expressio
7  .B #include <pcre.h>  .B #include <pcre.h>
8  .PP  .PP
9  .SM  .SM
 .br  
10  .B pcre *pcre_compile(const char *\fIpattern\fP, int \fIoptions\fP,  .B pcre *pcre_compile(const char *\fIpattern\fP, int \fIoptions\fP,
11  .ti +5n  .ti +5n
12  .B const char **\fIerrptr\fP, int *\fIerroffset\fP,  .B const char **\fIerrptr\fP, int *\fIerroffset\fP,
# Line 33  The option bits are: Line 32  The option bits are:
32  .sp  .sp
33    PCRE_ANCHORED         Force pattern anchoring    PCRE_ANCHORED         Force pattern anchoring
34    PCRE_AUTO_CALLOUT     Compile automatic callouts    PCRE_AUTO_CALLOUT     Compile automatic callouts
35      PCRE_BSR_ANYCRLF      \eR matches only CR, LF, or CRLF
36      PCRE_BSR_UNICODE      \eR matches all Unicode line endings
37    PCRE_CASELESS         Do caseless matching    PCRE_CASELESS         Do caseless matching
38    PCRE_DOLLAR_ENDONLY   $ not to match newline at end    PCRE_DOLLAR_ENDONLY   $ not to match newline at end
39    PCRE_DOTALL           . matches anything including NL    PCRE_DOTALL           . matches anything including NL
# Line 43  The option bits are: Line 44  The option bits are:
44    PCRE_FIRSTLINE        Force matching to be before newline    PCRE_FIRSTLINE        Force matching to be before newline
45    PCRE_MULTILINE        ^ and $ match newlines within data    PCRE_MULTILINE        ^ and $ match newlines within data
46    PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence    PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence
47      PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences
48    PCRE_NEWLINE_CR       Set CR as the newline sequence    PCRE_NEWLINE_CR       Set CR as the newline sequence
49    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence
50    PCRE_NEWLINE_LF       Set LF as the newline sequence    PCRE_NEWLINE_LF       Set LF as the newline sequence
# Line 58  PCRE must be built with UTF-8 support in Line 60  PCRE must be built with UTF-8 support in
60  PCRE_NO_UTF8_CHECK.  PCRE_NO_UTF8_CHECK.
61  .P  .P
62  The yield of the function is a pointer to a private data structure that  The yield of the function is a pointer to a private data structure that
63  contains the compiled pattern, or NULL if an error was detected.  contains the compiled pattern, or NULL if an error was detected. Note that
64    compiling regular expressions with one version of PCRE for use with a different
65    version is not guaranteed to work and may cause crashes.
66  .P  .P
67  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the
68  .\" HREF  .\" HREF

Legend:
Removed from v.93  
changed lines
  Added in v.231

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12