hello William,

> your string, or whether-or-not some might be nested within each other. You
> show a lone ampersand ("&") at the beginning of your example, but other
> strings may not be so simple.

really sorry about this artefact from previous attempts :(

> > $string.comb(/ ( <:Ps> ~ <:Pe> .?) /, :global).raku.say
> ("()", "\{}", "[]").Seq

those regexes i can't read for the moment is a good excuse to learn more
about raku. i'll read them later and come back here if i have questions.

thanks and regards.
marc

Reply via email to