[perl #125753] :ignorecase doesn't apply to character ranges

2015-11-11 Thread jn...@jnthn.net via RT
On Tue Oct 06 09:17:25 2015, jn...@jnthn.net wrote: > On Wed Aug 05 07:37:00 2015, duff wrote: > > m: '%E3%81%82' ~~ m:ignorecase/['%' (<[abcdef0123456789]> ** > > 2)]+/ && say $/[0]; > > <+camelia> rakudo-moar 0dcbba: OUTPUT«「E3」 「81」 「82」␤» > > hoelzro: I guess something is broken with characte

[perl #126573] Changed behaviour of "\r\n" in alternation regexp since Niceville

2015-11-11 Thread jn...@jnthn.net via RT
On Thu Nov 05 07:05:37 2015, steve.mynott+bitc...@gmail.com wrote: > 1. Original Behaviour under Niceville > > > say so "\r\n" ~~ /[";"|"\r\n"]/ > True > > 2. As of Nov 5 > > % perl6 -v > This is perl6 version 2015.10-177-gaf78ecc built on MoarVM version > 2015.10-54-g1e4912d > > > say so "\r\n

[perl #125285] Capturing separator (like /something % (.+?)/ ) spews out backtracking

2015-11-11 Thread jn...@jnthn.net via RT
On Fri May 29 17:05:32 2015, alex.jakime...@gmail.com wrote: > This command: > perl6 -e "say 'rule1 foo rule2 bar' ~~ /^ ( 'rule1' || 'rule2' )* %% (.+?) > $/" > > Outputs this: > 「rule1 foo rule2 bar」 > 0 => 「rule1」 > 1 => 「 」 > 1 => 「 f」 > 1 => 「 fo」 > 1 => 「 foo」 > 1 => 「 foo 」 > 0 => 「r

[perl #116280] [BUG] NaN, Inf, -Inf aren't padded with spaces in sprintf in Rakudo

2015-11-11 Thread Christian Bartolomaeus via RT
Tests were unfudged with commit https://github.com/perl6/roast/commit/5c7ae5c3f5 and https://github.com/perl6/roast/commit/53e1022caf. I'm closing this ticket as 'resolved'.

[perl #122951] [BUG] negative lookahead doesn't LTM properly

2015-11-11 Thread Christian Bartolomaeus via RT
I added a test (fudged 'todo') to S05-metasyntax/longest-alternative.t with commit https://github.com/perl6/roast/commit/38931b20b4

[perl #116895] [BUG] LTM alternation captures the wrong stuff when backtracking in Rakudo

2015-11-11 Thread Christian Bartolomaeus via RT
Looks like this was fixed for Moar (because of jnthn++'s work for RT #125285). $ perl6-m -e 'say "abcde" ~~ / (a | b | bc | cde)+»/' 「abcde」 0 => 「a」 0 => 「b」 0 => 「cde」 I added a test (fudged 'todo' for JVM) to S05-match/capturing-contexts.t with commit https://github.com/perl6/roast/commit/

[perl #121061] named @-siggiled capture explodes when it aliases a positional capture

2015-11-11 Thread Christian Bartolomaeus via RT
All these examples work now: $ perl6 -e 'say "a" ~~ /@=(.)*/' 「a」 from => 「a」 $ perl6 -e 'say "a" ~~ /$=(.)*/' 「a」 from => 「a」 $ perl6 -e 'say "a" ~~ /@=(.)+/' 「a」 from => 「a」 $ perl6 -e 'say "a" ~~ /@=[.]+/' 「a」 from => 「a」 I added tests for the previously failing evaluations to S05-capt

[perl #88340] backreferences to quantified captures are inconsistent in rakudo

2015-11-11 Thread Larry Wall via RT
Matching only the final match is not desirable, in my opinion. It should match the string traversed by all the matches in $0, including intervening separators, if any. The problem is that ~$0 has spaces interpolated, which will match only if the separators happen to be a single space, so there i