diff options
author | Karl Williamson <khw@cpan.org> | 2015-02-21 12:12:35 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-02-21 12:48:04 -0700 |
commit | 412a49a2e5f96f24a2a97864bb3af0f6023b3e7b (patch) | |
tree | bf99e9718dc472211a16ed40f658ae6919c44b62 | |
parent | 779cf272a07d560ad97de0fec1722d5e3f10e351 (diff) | |
download | perl-412a49a2e5f96f24a2a97864bb3af0f6023b3e7b.tar.gz |
perlrecharclass: \R could be inside a [...]
But we haven't made it so. So remove the text saying that it can't.
For a couple of releases now, we have allowed something that can match
more than one character to be inside a non-complemented bracketed
character class, so this could too, should we choose to someday.
-rw-r--r-- | pod/perlrecharclass.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index 97c15049fa..84a9226451 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -271,9 +271,9 @@ They use the platform's native character set, and do not consider any locale that may otherwise be in use. C<\R> matches anything that can be considered a newline under Unicode -rules. It's not a character class, as it can match a multi-character -sequence. Therefore, it cannot be used inside a bracketed character -class; use C<\v> instead (vertical whitespace). It uses the platform's +rules. It can match a multi-character sequence. It cannot be used inside +a bracketed character class; use C<\v> instead (vertical whitespace). +It uses the platform's native character set, and does not consider any locale that may otherwise be in use. Details are discussed in L<perlrebackslash>. |