Thank you very much for your help and pointing out my mistakes and omissions, I am learning a lot from this type of feedback. I have added some additional description about the format of the data file (e.g. the data blocks are not separated by an empty line but by three lines of text with an empty line above and bellow) and also updated my code to show how I was trying to parse the file.
In reply to Re^2: Help with parsing a file
by Odar
in thread Help with parsing a file
by Odar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |