]> git.evergreen-ils.org Git - working/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:10:31 +0000 (17:10 -0500)
commit976d33c2d1fcb6a4fccd684e7d21f0c8854c2adb
tree6befc336a10816fc47581d172f36f23db60ba84a
parent2f7c5eff26c310e4afe1ef73480249d013227f51
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