Re: [perl #130562] Mixed longest (ltm) and lexical alternation makes wrong match - "42" ~~ / [ "0" || "42" ] | "4" /

2017-01-17 Thread Ronald Schmidt
On 2017-01-17 21:35, Will Coleda wrote: > If you'd like to turn this into a doc-u-bug, that's fine; please open > a ticket at > > https://github.com/perl6/doc/issues Already done and described on earlier timestamp on ticket "Mon, 16 Jan 2017 11:12:59 -0800" by AlexDaniel++ https://github.com/p

Re: [perl #130562] Mixed longest (ltm) and lexical alternation makes wrong match - "42" ~~ / [ "0" || "42" ] | "4" /

2017-01-17 Thread Will Coleda
If you'd like to turn this into a doc-u-bug, that's fine; please open a ticket at https://github.com/perl6/doc/issues On Mon, Jan 16, 2017 at 11:37 AM, Parrot Raiser <1parr...@gmail.com> wrote: > Any time there's a bug report based on a serious misunderstanding of > language behaviour by someone

Re: [perl #130562] Mixed longest (ltm) and lexical alternation makes wrong match - "42" ~~ / [ "0" || "42" ] | "4" /

2017-01-16 Thread Parrot Raiser
Any time there's a bug report based on a serious misunderstanding of language behaviour by someone otherwise apparently competent, should it be considered an LTA for the relevant part of the documentation? On 1/15/17, jn...@jnthn.net via RT wrote: > On Sun, 15 Jan 2017 05:06:21 -0800, ronaldxs wr

[perl #130562] Mixed longest (ltm) and lexical alternation makes wrong match - "42" ~~ / [ "0" || "42" ] | "4" /

2017-01-15 Thread jn...@jnthn.net via RT
On Sun, 15 Jan 2017 05:06:21 -0800, ronaldxs wrote: > So "42" ~~ / [ "0" || "42" ] | "4" / matches 4 but if you stick to just > one kind of alternation: > > "42" ~~ / [ "0" | "42" ] | "4" / > > "42" ~~ / [ "0" || "42" ] || "4" / > > the match correctly comes back with 42. It looks like in th

[perl #130562] Mixed longest (ltm) and lexical alternation makes wrong match - "42" ~~ / [ "0" || "42" ] | "4" /

2017-01-15 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #130562] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130562 > So "42" ~~ / [ "0" || "42" ] | "4" / matches 4 but if you stick to just one kind of altern