Assuming nesting (e.g. (3,(4,5),6)) can't happen,
my @recs = $recs =~ / \G \( ( (?: [^()"] | "[^"]*" )* ) \) (?: , | \Z ) /xg;
In reply to Re: split on the pattern of '),('
by ikegami
in thread split on the pattern of '),('
by spz1st
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |