From: troubled-irc Date: Fri, 12 Oct 2007 20:27:00 +0000 (+0000) Subject: * Correction to last "whois" bug not handling "whois#" X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d7a65151a6fbbabd0d73370691494515b6b1f1b0;p=infobot.git * Correction to last "whois" bug not handling "whois#" git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1355 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Factoids/Core.pl b/blootbot/src/Factoids/Core.pl index 205158d..a43a3d6 100644 --- a/blootbot/src/Factoids/Core.pl +++ b/blootbot/src/Factoids/Core.pl @@ -460,7 +460,7 @@ sub FactoidStuff { # fix the string. s/^hey([, ]+)where/where/i; s/\s+\?$/?/; - s/^whois/who is/i; # Must match ^, else factoids with "whois" anywhere break + s/^whois /who is /i; # Must match ^, else factoids with "whois" anywhere break s/where can i find/where is/i; s/how about/where is/i; s/ da / the /ig;