You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given statement with the following line :61:2012031203CR20NMSCVS0015060871
the parser throws System.Data.InvalidExpressionException: '2012031203CR20NMSCVS0015060871'
I narrowed it down to the fact that the amount in this case does not contain the decimal separator.
As seen in the regex, the decimal separator is expected. (?<ammount>\d*[,.]\d{0,2})
Given statement with the following line
:61:2012031203CR20NMSCVS0015060871
the parser throws
System.Data.InvalidExpressionException: '2012031203CR20NMSCVS0015060871'
I narrowed it down to the fact that the amount in this case does not contain the decimal separator.
As seen in the regex, the decimal separator is expected.
(?<ammount>\d*[,.]\d{0,2})
SharpMt940Lib.Core/Raptorious.SharpMt940Lib/Transaction.cs
Line 130 in 937177b
In the PR, you can see two changes to the regex:
Simply adding {0,1} to the 'ammount' group did not help, I also had to remove the '?' from the 'fundscode' group.
#11
The text was updated successfully, but these errors were encountered: