]> git.evergreen-ils.org Git - Evergreen.git/commit
EDIReader: improve monetary regexes
authorBill Erickson <berick@esilibrary.com>
Wed, 12 Dec 2012 17:50:47 +0000 (12:50 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:12:12 +0000 (17:12 -0500)
commit028d8d3d529e3ad96a464a59398ee0c2590539a7
tree5be2424bfb47f60726ca8385f18b82470e11d96b
parent2eb7bb6d2b1827a10d6937ae027275f889117f94
EDIReader: improve monetary regexes

Make no attempt to enforce/decipher monetary amounts in the regexes,
simply capture the values.  If they are invalid, Postgres will let us
know.

This change allows us to capture non-numeric (\d) characters (e.g. "."),
which are of course common in monetary amounts.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm