git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_1@987
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
$value =~ s/\pC+//sgo;
$value =~ s/\W+$//sgo;
+ $term =~ s/\x{142}/l/sgo; # Convert Polish l (lowercase)
+ $term =~ s/\x{141}/l/sgo; # Convert Polish l (uppercase)
+
# hack to normalize ratio-like strings
while ($term =~ /\b\d{1}:[, ]?\d+(?:[ ,]\d+[^:])+/o) {
$term = $` . join ('', split(/[, ]/, $&)) . $';
$term =~ s/(\pM+)//gos;
$term =~ s/(\b\.\b)//gos;
+ $term =~ s/\x{142}/l/sgo; # Convert Polish l (lowercase)
+ $term =~ s/\x{141}/l/sgo; # Convert Polish l (uppercase)
+
# hack to normalize ratio-like strings
while ($term =~ /\b\d{1}:[, ]?\d+(?:[ ,]\d+[^:])+/o) {
$term = $` . join ('', split(/[, ]/, $&)) . $';