]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Statement.pl
- I borked DBCommon.pl by mistake (setFactInfo duplication).
[infobot.git] / src / Factoids / Statement.pl
index edd69cf179441edd25b31d6001a1bfa79746f734..6af6dc3086471d31efa4bfbd8eb95447b1931ad7 100644 (file)
@@ -56,10 +56,10 @@ sub doStatement {
        my($lhs, $mhs, $rhs) = ($`, $&, $');
 
        # allows factoid arguments to be updated. -lear.
-       $lhs =~ s/^(CMD: )?(.*)/$1 . lc $2/e;
+#      $lhs =~ s/^(CMD: )?(.*)/$1 . lc $2/e;
 
-       $lhs =~ tr/A-Z/a-z/;
-       $lhs =~ s/^(the|da|an?)\s+//i; # discard article
+       # discard article.
+       $lhs =~ s/^(the|da|an?)\s+//i;
 
        # remove excessive initial and final whitespaces.
        $lhs =~ s/^\s+|\s+$//g;