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

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

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

revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 155 by ph10, Tue Apr 24 13:36:11 2007 UTC
# Line 27  SYNOPSIS Line 27  SYNOPSIS
27  DESCRIPTION  DESCRIPTION
28  </b><br>  </b><br>
29  <P>  <P>
30  This function compiles a regular expression into an internal form. Its  This function compiles a regular expression into an internal form. It is the
31  arguments are:  same as <b>pcre_compile2()</b>, except for the absence of the <i>errorcodeptr</i>
32    argument. Its arguments are:
33  <pre>  <pre>
34    <i>pattern</i>       A zero-terminated string containing the    <i>pattern</i>       A zero-terminated string containing the
35                    regular expression to be compiled                    regular expression to be compiled
# Line 51  The option bits are: Line 52  The option bits are:
52                            (not much use currently)                            (not much use currently)
53    PCRE_FIRSTLINE        Force matching to be before newline    PCRE_FIRSTLINE        Force matching to be before newline
54    PCRE_MULTILINE        ^ and $ match newlines within data    PCRE_MULTILINE        ^ and $ match newlines within data
55      PCRE_NEWLINE_ANY      Recognize any Unicode newline sequence
56      PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences
57    PCRE_NEWLINE_CR       Set CR as the newline sequence    PCRE_NEWLINE_CR       Set CR as the newline sequence
58    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence    PCRE_NEWLINE_CRLF     Set CRLF as the newline sequence
59    PCRE_NEWLINE_LF       Set LF as the newline sequence    PCRE_NEWLINE_LF       Set LF as the newline sequence
# Line 67  PCRE_NO_UTF8_CHECK. Line 70  PCRE_NO_UTF8_CHECK.
70  </P>  </P>
71  <P>  <P>
72  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
73  contains the compiled pattern, or NULL if an error was detected.  contains the compiled pattern, or NULL if an error was detected. Note that
74    compiling regular expressions with one version of PCRE for use with a different
75    version is not guaranteed to work and may cause crashes.
76  </P>  </P>
77  <P>  <P>
78  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the

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

  ViewVC Help
Powered by ViewVC 1.1.5