[open-ils-commits] r9362 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 15 12:40:49 EDT 2008
Author: miker
Date: 2008-04-15 12:02:42 -0400 (Tue, 15 Apr 2008)
New Revision: 9362
Modified:
trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql
Log:
updating dewey extractor
Modified: trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql 2008-04-15 14:11:30 UTC (rev 9361)
+++ trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql 2008-04-15 16:02:42 UTC (rev 9362)
@@ -97,7 +97,7 @@
$txt =~ s/^\s+//o;
$txt =~ s/[\[\]\{\}\(\)`'"#<>\*\?\-\+\$\\]+//o;
$txt =~ s/\s+$//o;
- if (/(\d{3}(?:\.\d+)?)/o) {
+ if ($txt =~ /(\d{3}(?:\.\d+)?)/o) {
return $1;
} else {
return (split /\s+/, $txt)[0];
More information about the open-ils-commits
mailing list