develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #112954] [PATCH] 4d69d28 Fix a bad reference to "unicode_strings"

Thread Previous
From:
James E Keenan via RT
Date:
May 15, 2012 18:38
Subject:
[perl #112954] [PATCH] 4d69d28 Fix a bad reference to "unicode_strings"
Message ID:
rt-3.6.HEAD-4610-1337132305-1317.112954-15-0@perl.org
On Tue May 15 10:43:57 2012, tomhukins wrote:
> 
> This is a bug report for perl from tom@eborcom.com,
> generated with the help of perlbug 1.39 running under perl 5.12.4.
> 
> From 4d69d28e518567a3ab78780e0f027586323a68ae Mon Sep 17 00:00:00 2001
> From: Tom Hukins <tom@eborcom.com>
> Date: Tue, 15 May 2012 17:35:47 +0000
> Subject: [PATCH] Fix a bad reference to "unicode_strings"
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="------------1.7.9.6"
> 
> This is a multi-part message in MIME format.
> --------------1.7.9.6
> Content-Type: text/plain; charset=UTF-8; format=fixed
> Content-Transfer-Encoding: 8bit
> 
> 
> The documentation written for 2e2b2571 erroneously mentions
> "unicode_semantics" instead of "unicode_strings".
> ---
>  pod/perlunicode.pod |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 
> --------------1.7.9.6
> Content-Type: text/x-patch; name="0001-Fix-a-bad-reference-to-
>    unicode_strings.patch"
> Content-Transfer-Encoding: 8bit
> Content-Disposition: attachment; filename="0001-Fix-a-bad-reference-
>    to-unicode_strings.patch"
> 
> diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
> index adaa099..77daca3 100644
> --- a/pod/perlunicode.pod
> +++ b/pod/perlunicode.pod
> @@ -1413,7 +1413,7 @@ in combination with various other pragmas.
> 
>  Using caseless (C</i>) regular expression matching.
>  Starting in Perl 5.14.0, regular expressions compiled within
> -the scope of C<unicode_semantics> use character semantics
> +the scope of C<unicode_strings> use character semantics
>  even when executed or compiled into larger
>  regular expressions outside the scope.
> 
> @@ -1423,7 +1423,7 @@ Matching any of several properties in regular
>    expressions, namely C<\b>,
>  C<\B>, C<\s>, C<\S>, C<\w>, C<\W>, and all the Posix character
>    classes
>  I<except> C<[[:ascii:]]>.
>  Starting in Perl 5.14.0, regular expressions compiled within
> -the scope of C<unicode_semantics> use character semantics
> +the scope of C<unicode_strings> use character semantics
>  even when executed or compiled into larger
>  regular expressions outside the scope.
> 
> 

1.  I believe this analysis is correct.  'pod/perlunicode.pod' has
*many* usages of C<unicode_strings> (referring to the 'feature'), but
these are the only two instances of 'unicode_semantics'.  It looks like
there was a bad search-and-replace in commit 2e2b2571 done 2012-02-15.

2.  This error is still present in RC1.  Can we get it fixed right away?

Thank you very much.
Jim Keenan


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112954

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About