[perl #121772] $x ~~ s///;

2014-05-02 Thread via RT
# New Ticket Created by Schwenn, Peter # Please include the string: [perl #121772] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121772 Designation: Non-Finmeccanica Dear Perl6'rs [In short: no variation of $x ~~

Re: [perl #121772] $x ~~ s///;

2014-05-02 Thread Moritz Lenz
On 04/30/2014 05:21 PM, schw...@rt.perl.org wrote: # New Ticket Created by Schwenn, Peter # Please include the string: [perl #121772] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121772 Designation: Non-Finmeccanica

RE: [perl #121772] $x ~~ s///;

2014-05-02 Thread Schwenn, Peter
Designation: Non-Finmeccanica Moritz, Thanks for the response. I get the same successful result as you do with: my $line = bar foo; $line ~~ s/(\w+) \s+ (\w+)/$1 $0/; say $line # output: foo bar All well and good. And if the pattern is one line I get success with my other s///; forms as

Re: [perl #121772] $x ~~ s///;

2014-05-02 Thread Will Coleda
I just tried this with today's rakudo.moar build and got: $ cat txt foo bar foo bar $ cat foo.p6 my $layn = slurp txt; $layn ~~ s:g/(\w+) \s+ (\w+)/$1 $0/; say $layn; $ ./perl6 foo.p6 bar foo bar foo On Fri, May 2, 2014 at 2:02 PM, Schwenn, Peter pschw...@drs.com wrote: Designation:

[perl #121789] breakage of: .list for m:g/ (\d+)+ % '.' /; # advent 2012 day 22

2014-05-02 Thread via RT
# New Ticket Created by David Warring # Please include the string: [perl #121789] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/Ticket/Display.html?id=121789 The following is derived from