The file is organized in entries of the form:
foe, 1.... 2.... 3.... foe2, 1.... 2....
All sub-items begin with four spaces, and then text or number item. All entries like foe, begin without space. So, the next entry begins when an element doesn't have blank space at the beginning of the line. The whole file is like that and each entry can have different length.
I want a regexp that would output an entry like foe, and the subitems (but won't include the next item, foe2).