/[pcre]/code/tags/pcre-7.2/doc/pcre_compile2.3
ViewVC logotype

Diff of /code/tags/pcre-7.2/doc/pcre_compile2.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 155 by ph10, Tue Apr 24 13:36:11 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_compile2(const char *\fIpattern\fP, int \fIoptions\fP,  .B pcre *pcre_compile2(const char *\fIpattern\fP, int \fIoptions\fP,
11  .ti +5n  .ti +5n
12  .B int *\fIerrorcodeptr\fP,  .B int *\fIerrorcodeptr\fP,
# Line 47  The option bits are: Line 46  The option bits are:
46    PCRE_FIRSTLINE        Force matching to be before newline    PCRE_FIRSTLINE        Force matching to be before newline
47    PCRE_MULTILINE        ^ and $ match newlines within data    PCRE_MULTILINE        ^ and $ match newlines within data
48    PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence    PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence
49      PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences
50    PCRE_NEWLINE_CR       Set CR as the newline sequence    PCRE_NEWLINE_CR       Set CR as the newline sequence
51    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence
52    PCRE_NEWLINE_LF       Set LF as the newline sequence    PCRE_NEWLINE_LF       Set LF as the newline sequence
# Line 62  PCRE must be built with UTF-8 support in Line 62  PCRE must be built with UTF-8 support in
62  PCRE_NO_UTF8_CHECK.  PCRE_NO_UTF8_CHECK.
63  .P  .P
64  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
65  contains the compiled pattern, or NULL if an error was detected.  contains the compiled pattern, or NULL if an error was detected. Note that
66    compiling regular expressions with one version of PCRE for use with a different
67    version is not guaranteed to work and may cause crashes.
68  .P  .P
69  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the
70  .\" HREF  .\" HREF

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

  ViewVC Help
Powered by ViewVC 1.1.5