in reply to split on the pattern of '),('
Assuming nesting (e.g. (3,(4,5),6)) can't happen,
my @recs = $recs =~ / \G \( ( (?: [^()"] | "[^"]*" )* ) \) (?: , | \Z ) /xg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: split on the pattern of '),('
by tobyink (Canon) on Jun 08, 2012 at 07:17 UTC | |
by ikegami (Patriarch) on Sep 17, 2012 at 18:17 UTC | |
by tobyink (Canon) on Sep 17, 2012 at 19:08 UTC | |
by ikegami (Patriarch) on Sep 30, 2012 at 05:41 UTC | |
by tobyink (Canon) on Sep 30, 2012 at 08:13 UTC | |
|