summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/doc/pcreposix.txt
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-02-20 22:00:33 +0000
committerAndrei Zmievski <andrei@php.net>2001-02-20 22:00:33 +0000
commit6542e704738cc8ef659818a2ff9c25864e225022 (patch)
treec0ffbc29ef4fc4ebec74d0cff7fc222562275062 /ext/pcre/pcrelib/doc/pcreposix.txt
parent714e340a3b007005d1fca8879e2884f43a15d80f (diff)
downloadphp-git-6542e704738cc8ef659818a2ff9c25864e225022.tar.gz
Upgrade PCRE to version 3.4.
Diffstat (limited to 'ext/pcre/pcrelib/doc/pcreposix.txt')
-rw-r--r--ext/pcre/pcrelib/doc/pcreposix.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/doc/pcreposix.txt b/ext/pcre/pcrelib/doc/pcreposix.txt
index 4a7036f340..2d76f7cdcc 100644
--- a/ext/pcre/pcrelib/doc/pcreposix.txt
+++ b/ext/pcre/pcrelib/doc/pcreposix.txt
@@ -80,6 +80,15 @@ COMPILING A PATTERN
The PCRE_MULTILINE option is set when the expression is
passed for compilation to the native function.
+ In the absence of these flags, no options are passed to the
+ native function. This means the the regex is compiled with
+ PCRE default semantics. In particular, the way it handles
+ newline characters in the subject string is the Perl way,
+ not the POSIX way. Note that setting PCRE_MULTILINE has only
+ some of the effects specified for REG_NEWLINE. It does not
+ affect the way newlines are matched by . (they aren't) or a
+ negative class such as [^a] (they are).
+
The yield of regcomp() is zero on success, and non-zero oth-
erwise. The preg structure is filled in on success, and one
member of the structure is publicized: re_nsub contains the
@@ -147,4 +156,4 @@ AUTHOR
Cambridge CB2 3QG, England.
Phone: +44 1223 334714
- Copyright (c) 1997-1999 University of Cambridge.
+ Copyright (c) 1997-2000 University of Cambridge.