in reply to parsing sloppy text from columns
@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().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: parsing sloppy text from columns (not the solution)
by Aristotle (Chancellor) on May 10, 2003 at 19:29 UTC | |
by draconis (Scribe) on May 12, 2003 at 13:27 UTC |