-
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
Lines with non-digit tags should be parsed too. #23
Comments
ahh interesting. do you have an example of such a file? I've never seen something like that so far. PRs are generally welcome! |
Take a look at wolph/mt940@e4d36fe Here's an example from the last link:
|
ok, interesting... "non-swift" . I think we should add proper support for that then. It should be possible to simply add a new parser as described here). A PR would be great! I'm happy to help if you have questions. |
Well, so I made a tiny commit. But don't you think it would beneficial to emphasize the fact that newly defined custom field parsers are automatically added to |
thanks, will look at it asap. |
fixed by merging #26, thanks @prometh07 👍 |
Scenario: I'm trying to parse a file with a header containing a line with a custom, non-digit tag, eg.
:NS:some-description
.Available options:
Cmxl.config[:raise_line_format_errors] = false
None of these is helpful. However, I think there are some solutions to the problem:
self.parse(line)
insidefield.rb
I can make a PR, if you want so.
The text was updated successfully, but these errors were encountered: