Skip to content
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

Parsing not working for test files #4

Open
TomVanLaere-bit opened this issue Jul 16, 2020 · 1 comment
Open

Parsing not working for test files #4

TomVanLaere-bit opened this issue Jul 16, 2020 · 1 comment

Comments

@TomVanLaere-bit
Copy link

Hello Daniel,

I have some test files were the line feed is \r\n instead of \n. Even when the \r is removed the parsing does not work.

For example I modified:

r"(:20:(?P<transaction_reference>[^\s:]+)\s*)?"

to

r"(:20:(?P<transaction_reference>[^\s:]).)"

then it works fine

thanks for the work

Tom

@danielquinn
Copy link
Owner

Hi Tom, I'm just now getting around to this, but it's hard to make any changes without a test case. If you can provide an MT103 message that doesn't parse correctly, I can use that as a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@danielquinn @TomVanLaere-bit and others