ruckus / quickbooks-ruby

Quickbooks Online REST API V3 - Ruby
MIT License
374 stars 302 forks source link

Bugfix: Do not match percent sign when parsing Report rows #530

Closed atemena closed 4 years ago

atemena commented 4 years ago

Issue

Getting an invalid value for BigDecimal() error when trying to parse percentages like "-51.71 %".

Change

Fix third alternative in regex to not match negative numbers with trailing non digit characters

ruckus commented 4 years ago

Thank you!