@line=~s/ +/ /g;
This should simply eliminate all duplicate whitespace chars and replace them with a single whitespace char so that you then can use a naive split().
In reply to Re: parsing sloppy text from columns
by draconis
in thread parsing sloppy text from columns
by halley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |