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/?p=infobot.git;a=commitdiff_plain;h=80c4b1f655eabc0e7eb1d541fbf0cd9b4cd086f0 * Correction to last "whois" bug not handling "whois#" git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1355 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Core.pl b/src/Factoids/Core.pl index 205158d..a43a3d6 100644 --- a/src/Factoids/Core.pl +++ b/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;