From 428d7297cea646a9e14db7decf51d799ca0ed6a3 Mon Sep 17 00:00:00 2001 From: troubled-irc Date: Sat, 6 Oct 2007 20:02:47 +0000 Subject: [PATCH] * Fix bug with "whois" anywhere in factoid key not triggering properly git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1353 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Core.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Factoids/Core.pl b/blootbot/src/Factoids/Core.pl index 72d8216..205158d 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/ig; + 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; -- 2.39.2