I'm building my own MT940 parser and I'm running into something that seems to be unspecified issue.
The specification of a :61: tag, states that it ends with a variable amount of characters (34x). From an example file I see that they can continue on the next line.
For example:
:61:1510151015C54,01NTRFNONREF//15288910043499
/TRCD/00100/
How do I determine if the next line is a new tag or if it is a continuation of the content of the preceding tag. It seems that looking for an :xx: pattern at the beginning of the line is naive as it could cause a bug in the exceptional situation where the content actually contains that specific pattern.