On Thu, Mar 18, 2021 at 12:59 AM yary <not....@gmail.com> wrote:
>
> As it is I get same kinds of errors in the REPL, perhaps it is MacOS
> with Linenoise that's mucking that up.

I can confirm your new test code also works fine in both program
and repl forms in 2020.12.

Though obviously the case you mark as "interesting" still doesn't do
any sub-capturing. Which is to be expected if you know that aspect
of Raku's regex language.

> I had hoped that by directly interpolating $rd and $rw they would
> fill in the top-level match object and fill in $0, $1 – but it has the
> same issue as Joe's original example.

Are you just saying that your original expectations were the same
as Joe's, but you now understand that's not how Raku regexes
work, but it's trivial to get the same result? Or are you saying you
don't know how to get the same result?

--
love, raiph

Reply via email to