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

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

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

revision 43 by nigel, Sat Feb 24 21:39:21 2007 UTC revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC
# Line 107  The PCRE_MULTILINE option is set when th Line 107  The PCRE_MULTILINE option is set when th
107  to the native function.  to the native function.
108  </P>  </P>
109  <P>  <P>
110    In the absence of these flags, no options are passed to the native function.
111    This means the the regex is compiled with PCRE default semantics. In
112    particular, the way it handles newline characters in the subject string is the
113    Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only
114    <I>some</I> of the effects specified for REG_NEWLINE. It does not affect the way
115    newlines are matched by . (they aren't) or a negative class such as [^a] (they
116    are).
117    </P>
118    <P>
119  The yield of <B>regcomp()</B> is zero on success, and non-zero otherwise. The  The yield of <B>regcomp()</B> is zero on success, and non-zero otherwise. The
120  <I>preg</I> structure is filled in on success, and one member of the structure  <I>preg</I> structure is filled in on success, and one member of the structure
121  is publicized: <I>re_nsub</I> contains the number of capturing subpatterns in  is publicized: <I>re_nsub</I> contains the number of capturing subpatterns in
# Line 179  Cambridge CB2 3QG, England. Line 188  Cambridge CB2 3QG, England.
188  Phone: +44 1223 334714  Phone: +44 1223 334714
189  </P>  </P>
190  <P>  <P>
191  Copyright (c) 1997-1999 University of Cambridge.  Copyright (c) 1997-2000 University of Cambridge.

Legend:
Removed from v.43  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.5