And I think, you should a) replace consecutive white space with a single blank, b) replace braces with quotes, and then c) use Text::CSV to split into fields.
In reply to Re: Splitting string using two overlapping patterns
by hdb
in thread Splitting string using two overlapping patterns
by kpr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |