Text::Balanced can be of use.
It would make multiple delimiters and the following easy to handle.
baz = ((one two, three four), five six)
In reply to Re: Removing multiple newlines from a line using regex
by ikegami
in thread Removing multiple newlines from a line using regex
by fbicknel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |