EDIReader: improve monetary regexes
authorBill Erickson <berick@esilibrary.com>
Wed, 12 Dec 2012 17:50:47 +0000 (12:50 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 23 Jan 2013 05:17:31 +0000 (00:17 -0500)
commit83855b1f4d98bacbf513367c61384307cd5f4931
tree126896738c43a836bf5193cdbe5a0ce834a73368
parent21393b94f6321cb043b3f7cc9acc82661efe6059
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