A multiline text parsing utility