-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BN Paribas MT940 #10
Comments
thanks for reporting that. If not we could just strip everything before the first proper tag. This would also solve #8 What do you think? |
I do not know whether they are default and I do not think they are relevant |
from our experience the separator depends on the bank and that's why it is easily configurable with a default that matched most of the statements we have had so far. (including the \r) so your regex basically ignores anything until the first real tag, right? A PR would be appreciated or if you want to add your solution as a note to the readme or wiki, that would be awesome and helps the next person. thanks |
they add some header lines in front of each statements
I am not sure I am allowed to attach file here
It is not possible to cover it by line parser as there is no :tag: here
1601 25V3241A1XAXXX00001
0000 30BMCIMAMCXXXX00001
940 02
:20:BMCI
...
first idea is to prefix file contents with "\r\n-\r\n" and use such /\r?\n-\r?\n([^:].*\r?\n)+/m statements separator which should consume this header but I still get wrong line format...
The text was updated successfully, but these errors were encountered: