LP 1519465: POs with spaces in the name cause EDI problems.
[Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / Utils / EDIReader.pm
index 3a3ecc6..4c17d34 100644 (file)
@@ -32,7 +32,7 @@ my %edi_fields = (
 );
 
 my %edi_li_fields = (
-    id      => qr/^RFF\+LI:(?:\S+\/)?(\d+)/,
+    id      => qr/^RFF\+LI:(?:[^\/]+\/)?(\d+)/,
     index   => qr/^LIN\+([^\+]+)/,
     amount_billed   => qr/^MOA\+203:([^:]+)/,
     net_unit_price  => qr/^PRI\+AAA:([^:]+)/,