in reply to A regexp/split question
There are many ways to do what you want. The easiest (IMO) is to later fix the array. You could also (which seems more elegant to me) preprocess the line just before splitting, by removing all offending whitespace :
s/^\s+//g;
|
|---|