diff options
author | Henrik Nord <[email protected]> | 2011-05-17 15:12:57 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-05-17 15:13:04 +0200 |
commit | 69f7630157b16eda1639323e6bbc269096255006 (patch) | |
tree | e85f2610840bc37d0092b1095a6cc7d4bab9fd7e /lib/stdlib | |
parent | eb99333dec62aa1e70bfd001ff1ebb4ee8819d6d (diff) | |
parent | 657cf4b1363e468c5839628a1e6f9db88dbf45dc (diff) | |
download | otp-69f7630157b16eda1639323e6bbc269096255006.tar.gz otp-69f7630157b16eda1639323e6bbc269096255006.tar.bz2 otp-69f7630157b16eda1639323e6bbc269096255006.zip |
Merge branch 'ta/re-doc' into dev
* ta/re-doc:
re: remove gratuitous "it " in manpage
OTP-9307
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/doc/src/re.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/re.xml b/lib/stdlib/doc/src/re.xml index b8db55fc26..8c9e08ac3a 100644 --- a/lib/stdlib/doc/src/re.xml +++ b/lib/stdlib/doc/src/re.xml @@ -133,7 +133,7 @@ This option makes it possible to include comments inside complicated patterns. N <tag><c>multiline</c></tag> <item><p>By default, PCRE treats the subject string as consisting of a single line of characters (even if it actually contains newlines). The "start of line" metacharacter (^) matches only at the start of the string, while the "end of line" metacharacter ($) matches only at the end of the string, or before a terminating newline (unless <c>dollar_endonly</c> is given). This is the same as Perl.</p> -<p>When <c>multiline</c> it is given, the "start of line" and "end of line" constructs match immediately following or immediately before internal newlines in the subject string, respectively, as well as at the very start and end. This is equivalent to Perl's /m option, and it can be changed within a pattern by a (?m) option setting. If there are no newlines in a subject string, or no occurrences of ^ or $ in a pattern, setting <c>multiline</c> has no effect.</p> </item> +<p>When <c>multiline</c> is given, the "start of line" and "end of line" constructs match immediately following or immediately before internal newlines in the subject string, respectively, as well as at the very start and end. This is equivalent to Perl's /m option, and it can be changed within a pattern by a (?m) option setting. If there are no newlines in a subject string, or no occurrences of ^ or $ in a pattern, setting <c>multiline</c> has no effect.</p> </item> <tag><c>no_auto_capture</c></tag> <item>Disables the use of numbered capturing parentheses in the pattern. Any opening parenthesis that is not followed by ? behaves as if it were followed by ?: but named parentheses can still be used for capturing (and they acquire numbers in the usual way). There is no equivalent of this option in Perl. </item> |