diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-11 11:15:33 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-11 11:15:33 +0000 |
commit | 1efcdd63835a98ad89649d4b0b89d6d875e54b2e (patch) | |
tree | d76b45cb414c6694d744369626e29c6cee14318d /doc/pcretest.txt | |
parent | 6daf21e6a650630d1ef31720c2f92f555127fe80 (diff) | |
download | pcre-1efcdd63835a98ad89649d4b0b89d6d875e54b2e.tar.gz |
Add facility to make \R match only CR, LF, or CRLF.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@231 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/pcretest.txt')
-rw-r--r-- | doc/pcretest.txt | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/doc/pcretest.txt b/doc/pcretest.txt index 06b18bd..6883a26 100644 --- a/doc/pcretest.txt +++ b/doc/pcretest.txt @@ -146,19 +146,21 @@ PATTERN MODIFIERS The following table shows additional modifiers for setting PCRE options that do not correspond to anything in Perl: - /A PCRE_ANCHORED - /C PCRE_AUTO_CALLOUT - /E PCRE_DOLLAR_ENDONLY - /f PCRE_FIRSTLINE - /J PCRE_DUPNAMES - /N PCRE_NO_AUTO_CAPTURE - /U PCRE_UNGREEDY - /X PCRE_EXTRA - /<cr> PCRE_NEWLINE_CR - /<lf> PCRE_NEWLINE_LF - /<crlf> PCRE_NEWLINE_CRLF - /<anycrlf> PCRE_NEWLINE_ANYCRLF - /<any> PCRE_NEWLINE_ANY + /A PCRE_ANCHORED + /C PCRE_AUTO_CALLOUT + /E PCRE_DOLLAR_ENDONLY + /f PCRE_FIRSTLINE + /J PCRE_DUPNAMES + /N PCRE_NO_AUTO_CAPTURE + /U PCRE_UNGREEDY + /X PCRE_EXTRA + /<cr> PCRE_NEWLINE_CR + /<lf> PCRE_NEWLINE_LF + /<crlf> PCRE_NEWLINE_CRLF + /<anycrlf> PCRE_NEWLINE_ANYCRLF + /<any> PCRE_NEWLINE_ANY + /<bsr_anycrlf> PCRE_BSR_ANYCRLF + /<bsr_unicode> PCRE_BSR_UNICODE Those specifying line ending sequences are literal strings as shown, but the letters can be in either case. This example sets multiline @@ -625,5 +627,5 @@ AUTHOR REVISION - Last updated: 21 August 2007 + Last updated: 11 September 2007 Copyright (c) 1997-2007 University of Cambridge. |