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

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

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

revision 431 by ph10, Sat Aug 15 18:45:00 2009 UTC revision 432 by ph10, Wed Sep 2 16:02:56 2009 UTC
# Line 45  the value zero. This has no effect, but Line 45  the value zero. This has no effect, but
45  POSIX interface often use it, this makes it easier to slot in PCRE as a  POSIX interface often use it, this makes it easier to slot in PCRE as a
46  replacement library. Other POSIX options are not even defined.  replacement library. Other POSIX options are not even defined.
47  .P  .P
48    There are also some other options that are not defined by POSIX. These have
49    been added at the request of users who want to make use of certain
50    PCRE-specific features via the POSIX calling interface.
51    .P
52  When PCRE is called via these functions, it is only the API that is POSIX-like  When PCRE is called via these functions, it is only the API that is POSIX-like
53  in style. The syntax and semantics of the regular expressions themselves are  in style. The syntax and semantics of the regular expressions themselves are
54  still those of Perl, subject to the setting of various PCRE options, as  still those of Perl, subject to the setting of various PCRE options, as
# Line 97  compiled with this flag is passed to \fB Line 101  compiled with this flag is passed to \fB
101  \fInmatch\fP and \fIpmatch\fP arguments are ignored, and no captured strings  \fInmatch\fP and \fIpmatch\fP arguments are ignored, and no captured strings
102  are returned.  are returned.
103  .sp  .sp
104      REG_UNGREEDY
105    .sp
106    The PCRE_UNGREEDY option is set when the regular expression is passed for
107    compilation to the native function. Note that REG_UNGREEDY is not part of the
108    POSIX standard.
109    .sp
110    REG_UTF8    REG_UTF8
111  .sp  .sp
112  The PCRE_UTF8 option is set when the regular expression is passed for  The PCRE_UTF8 option is set when the regular expression is passed for
# Line 109  This means the the regex is compiled wit Line 119  This means the the regex is compiled wit
119  particular, the way it handles newline characters in the subject string is the  particular, the way it handles newline characters in the subject string is the
120  Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only  Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only
121  \fIsome\fP of the effects specified for REG_NEWLINE. It does not affect the way  \fIsome\fP of the effects specified for REG_NEWLINE. It does not affect the way
122  newlines are matched by . (they aren't) or by a negative class such as [^a]  newlines are matched by . (they are not) or by a negative class such as [^a]
123  (they are).  (they are).
124  .P  .P
125  The yield of \fBregcomp()\fP is zero on success, and non-zero otherwise. The  The yield of \fBregcomp()\fP is zero on success, and non-zero otherwise. The
# Line 243  Cambridge CB2 3QH, England. Line 253  Cambridge CB2 3QH, England.
253  .rs  .rs
254  .sp  .sp
255  .nf  .nf
256  Last updated: 15 August 2009  Last updated: 02 September 2009
257  Copyright (c) 1997-2009 University of Cambridge.  Copyright (c) 1997-2009 University of Cambridge.
258  .fi  .fi

Legend:
Removed from v.431  
changed lines
  Added in v.432

  ViewVC Help
Powered by ViewVC 1.1.5