Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #75756] [BUG] Str.uc knows that the letter "ß" upper-cases "as "SS", case-insensitive regexes don't in Rakudo"

8 views
Skip to first unread message

Carl Mäsak

unread,
Jun 15, 2010, 5:16:28 AM6/15/10
to bugs-bi...@rt.perl.org
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75756]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75756 >


<sorear> How does case insensitive matching work in perl 6?
<sorear> e.g. "ß" ~~ m:i/SS/
<masak> sorear: that's the syntax, so I assume you're asking about the
semantics.
<masak> oh wait, that example is tricky :)
<masak> I would be surprised if Perl 6 is spec'd to handle that.
<sorear> yes. semantics, and dark corners thereof
<sorear> yes, S05 says exactly nothing on the subject
<sorear> other than "ignores case distinctions"
<moritz_> rakudo: say "ß" ~~ /:i SS/
<p6eval> rakudo cfbeb5: OUTPUT«␤»
<moritz_> rakudo: say uc "ß"
<p6eval> rakudo cfbeb5: OUTPUT«SS␤»
<masak> o.O
<masak> German is strange.
<moritz_> it sure is.
<moritz_> masak: want to submit a bug report about inconsistency?
* masak submits rakudobug

Will Coleda via RT

unread,
Oct 20, 2012, 9:17:20 PM10/20/12
to perl6-c...@perl.org
On Tue Jun 15 02:16:28 2010, masak wrote:
> <sorear> How does case insensitive matching work in perl 6?
> <sorear> e.g. "ß" ~~ m:i/SS/
> <masak> sorear: that's the syntax, so I assume you're asking about the
> semantics.
> <masak> oh wait, that example is tricky :)
> <masak> I would be surprised if Perl 6 is spec'd to handle that.
> <sorear> yes. semantics, and dark corners thereof
> <sorear> yes, S05 says exactly nothing on the subject
> <sorear> other than "ignores case distinctions"
> <moritz_> rakudo: say "ß" ~~ /:i SS/
> <p6eval> rakudo cfbeb5: OUTPUT«␤»
> <moritz_> rakudo: say uc "ß"
> <p6eval> rakudo cfbeb5: OUTPUT«SS␤»
> <masak> o.O
> <masak> German is strange.
> <moritz_> it sure is.
> <moritz_> masak: want to submit a bug report about inconsistency?
> * masak submits rakudobug


Behavior changed:

> "ß" ~~ m:i/SS/
#<failed match>
> say uc "ß"
ß


Closable?

--
Will "Coke" Coleda

Carl Mäsak via RT

unread,
Oct 21, 2012, 5:09:04 AM10/21/12
to perl6-c...@perl.org
Well, the *inconsistency* seems to be gone... but by pushing the
semantics in (what I consider to be) the wrong direction. I.e. now
instead of one of two things behaving the wrong way, both do.
0 new messages