in reply to text parsing question
OUTPUT:$_=' ---------- ------------------------- -------- --- - ------------------------- ----- ---- ----------- -----------'; while( m/-\S.\s|$/g){ print pos() -1,qq(\n) }
13 40 50 56 83 90 96 109 121
Earth first! (We'll rob the other planets later)
|
|---|