# 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 ~~
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
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
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:
# 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