scrapinghub / price-parser

Extract price amount and currency symbol from a raw text string
BSD 3-Clause "New" or "Revised" License
316 stars 50 forks source link

Incorrect parsing when input doesn't contain digits before decimal point #40

Closed enquora closed 4 years ago

enquora commented 4 years ago

'$ .75' is incorrectly parsed as 75

enquora commented 4 years ago

A proper parser is probably necessary for maintainability and to reliably implement the functionality intended for this project.