WIP: Feature/support for curly brackets #2
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @huerlisi,
this is basically a feature wish or question for support of mt940 with curly brackets / heade-/body-structure.
This PR includes an additional spec (on top of the cleanup PR).
I just saw that some banks (ie PostFinance) sometimes encapsulate their mt940 files within some curly brackets.
There is some documentation about it (ie here on chapter two or here in the examples).
If I understand this correctly it would be totally fine for bookyt to throw away the
{1:
,{2:
and{3:
blocks and just use the fourth one as it contains the message. Is that correct so far?If you agree I can also implement it by myself but as you probably know the format and the needs of bookyt in particular I just wanted to ask before. 😉
PS: the example is from this pdf
EDIT: I implemented it how I understood it now.