Fix currency parsing stack limit too deep error
Attempting to parse Unit('$1.45') throws a 'stack limit reached' error.
- Fixed parse_into_numbers_and_units to account for leading '$'
- Added test for currency parsing
+1
@olbrich any chance this will be addressed in the 2.0 release?
@rposborne I'm in the process of completely rewriting the parsing engine. I did come across the problems with currency already and have it working. Also included is the ability to parse currency in formats like $1,000,000 and ($1,000) (for negative numbers).
@olbrich fantastic. You have done some great work with this gem!
@olbrich I appreciate all of your work on this gem. Is there any update on when a new version may be published with a fix for this issue?
This has been fixed for a while, I just neglected to close it.