stevied can anyone see why `Nil` is getting passed to the `embed-this` subroutine with this line? 00:15
`make $line.subst(/<-[``]>https\:\/\/www\.youtube\.com\/watch\?v\=$<foo>=<[\w\-&=]>+/, { embed-this($<foo>) }, :g);`
this line is inside an action method
if I have a grammar that's been used to parse some text and then I save the Match object it returns, is there a way to run actions on the Match object later? 04:39
in other words, I don't want to have to run the .parse method on the grammar because it's already been parsed, I just want to run the actions on it 04:41
in other words, I don't want to have to run the .parse method on the grammar because it's already been parsed, I just want to run the actions on it 04:46
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/04/04/2022-...completer/ 12:45
neither hi, how do you `assert` something in Raku? 14:12
`die $message unless $ok`?
lizmat if you want it to be trappable 14:13
if you don't want it be trappable
m: exit note "it didn't work out"
camelia it didn't work out
neither oh sorry, what do you mean by trappable? 14:14
i think you mean CATCHable? 14:16
lizmat yes 14:23
actually, if you want, you can catch exits too, but that takes a bit more work :-)
neither thanks :p 14:25
:d not :\p
lizmat :-) 14:26