Regex surprises

2022-09-14 Thread Clifton Wood
Hi Brian, I would think this would become pretty easy. Consider: sub MAIN ( $replacement, :$x, :$y ) { my regex x {<{ $x }> } my regex y { <{$y}> } S:g! ! <{ $replacemement }> ! if $x; S:g! ! <{ $replacement }> ! if $y } Is this what you are looking for or did I miss something?

How can I check the content of a pre-compiled file ?

2022-09-14 Thread Dominique Dumont
Hi I'm facing a problem [1] while packaging Raku modules for Debian. In summary, raku-json-marshal and raku-json-unmarshal packages both containt the same precompiled file. I'm trying to figure out what went wrong. How can I check what's inside this file ? (Strings is a bit unwieldy in this c