Re: getting comb to return match objects

2019-11-10 Thread Joseph Brenner
Thanks, that form does what I want-- I don't see how I could've understood that from the docs, though. For example, I don't see any place where the :match adverb is mentioned for either the method or routine form of comb. On 11/10/19, Elizabeth Mattijsen wrote: > dd "foobar".comb(/./, :g, :mat

Re: getting comb to return match objects

2019-11-10 Thread Elizabeth Mattijsen
dd "foobar".comb(/./, :g, :match); (「f」 「o」 「o」 「b」 「a」 「r」) > On 10 Nov 2019, at 23:46, Joseph Brenner wrote: > > Can someone give me an example of how to use the comb routine to > return a list of match objects? > > The documentation here: > > https://docs.perl6.org/type/Str#routine_comb >

Re: FC31 can't find my module subs

2019-11-10 Thread ToddAndMargo via perl6-users
On 11/4/19 11:39 PM, ToddAndMargo via perl6-users wrote: On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: Hi All, Help! I just upgraded Fedora from 30 to 31. I upgraded to rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm from https://github.com/nxadm/rakudo-pkg/releases Now P6 can not find

getting comb to return match objects

2019-11-10 Thread Joseph Brenner
Can someone give me an example of how to use the comb routine to return a list of match objects? The documentation here: https://docs.perl6.org/type/Str#routine_comb Mentions a boolean option to get match objects: > If $matcher is a Regex, each Match object is > converted to a Str, unless $matc