From: Rafael Garcia-Suarez Date: Fri, 25 May 2007 13:29:34 +0000 (+0000) Subject: \R can't be used in a char class X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ddf2931629172758edefb4e67ffcf45a59200b6;p=p5sagit%2Fp5-mst-13.2.git \R can't be used in a char class p4raw-id: //depot/perl@31277 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index bd7a1aa..a12349b 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -269,7 +269,7 @@ X X X X \V Not vertical whitespace \h Horizontal whitespace \H Not horizontal whitespace - \R Linebreak (matches like \v inside of a charclass) + \R Linebreak A C<\w> matches a single alphanumeric character (an alphabetic character, or a decimal digit) or C<_>, not a whole word. Use C<\w+>