chiark / gitweb /
where-vessels: subclass smasher works; need to reorg to be a grid like Show
[ypp-sc-tools.db-live.git] / yarrg / web / check_capacitystring
index b958dff46745e2ee4c4b3b8efdbaffce92c07c8b..e1f2da4cc5f12151a9341ee0dbb23dcc31b7a9a4 100644 (file)
@@ -130,7 +130,7 @@ my $parse_term= sub {
                        $_ *= $pct / 100.0;
                }
                push @canon, sprintf "%g%%", $pct;
-       } elsif (!m/[^a-z]/i) {
+       } elsif (!m/[^a-z ]/i) {
                $debugf->("TERM NAME");
                expected_error("Name (should be unit or commodity)".
                                escerrq($_).