diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-17 10:33:48 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-17 10:33:48 +0000 |
commit | 4593c685d7605216ae94dd70e9d44a304e99875b (patch) | |
tree | cdc38612ac00d526d08796dd58fa41c83351f03e | |
parent | 95cec75ba4a38a0ad67d3ef79dd3ac8271586f49 (diff) | |
download | pcre-4593c685d7605216ae94dd70e9d44a304e99875b.tar.gz |
Documentation tweaks.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@251 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | doc/pcrepattern.3 | 12 |
2 files changed, 18 insertions, 2 deletions
@@ -183,6 +183,12 @@ library. You can read more about them in the pcrebuild man page. to be some failures. With --enable-newline-is-anycrlf or --enable-newline-is-any, many tests should succeed, but there may be some failures. + +. By default, the sequence \R in a pattern matches any Unicode line ending + sequence. This is independent of the option specifying what PCRE considers to + be the end of a line (see above). However, the caller of PCRE can restrict \R + to match only CR, LF, or CRLF. You can make this the default by adding + --enable-bsr-anycrlf to the "configure" command (bsr = "backslash R"). . When called via the POSIX interface, PCRE uses malloc() to get additional storage for processing capturing parentheses if there are more than 10 of @@ -714,4 +720,4 @@ The distribution should contain the following files: Philip Hazel Email local part: ph10 Email domain: cam.ac.uk -Last updated: 24 April 2007 +Last updated: 17 September 2007 diff --git a/doc/pcrepattern.3 b/doc/pcrepattern.3 index 7498b0f..019873b 100644 --- a/doc/pcrepattern.3 +++ b/doc/pcrepattern.3 @@ -1034,6 +1034,16 @@ matches "ab", "aB", "c", and "C", even though when matching "C" the first branch is abandoned before the option setting. This is because the effects of option settings happen at compile time. There would be some very weird behaviour otherwise. +.P +\fBNote:\fP There are other PCRE-specific options that can be set by the +application when the compile or match functions are called. In some cases the +pattern can contain special leading sequences to override what the application +has set or what has been defaulted. Details are given in the section entitled +.\" HTML <a href="#newlineseq"> +.\" </a> +"Newline sequences" +.\" +above. . . .\" HTML <a name="subpattern"></a> @@ -2182,6 +2192,6 @@ Cambridge CB2 3QH, England. .rs .sp .nf -Last updated: 14 September 2007 +Last updated: 17 September 2007 Copyright (c) 1997-2007 University of Cambridge. .fi |