> > You can put any Raku code that produces a string > > into a regex by using the syntax `$(code)`. > > > > my $x ~~ s/ Q[;";] //; > ===SORRY!=== > Unrecognized regex metacharacter ; (must be quoted to match literally)
You didn't use the syntax I showed. You need to put your code (in your case `Q[;";]`) where `code` appears in `$(code)`. So: ``` > $x ~~ s/ $( Q[;";] ) // 「;";」 ``` > > love, raiph > > Great tutorial. Thank you! (I love you too Raiph.) Thx. Yw. (:))