Infobot is a little eager. 'aaa is bbb' was being handled as 'is bbb' because 'aaa' matched the 'ah' regexp. Oops. r=justdave.

git-svn-id: svn://10.0.0.236/trunk@117849 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ian%hixie.ch 2002-04-01 06:19:26 +00:00
parent b80c346328
commit 745ddc7a1c

View File

@ -151,7 +151,7 @@ sub DoFactoidCheck {
my $shortMessage;
if ($message =~ /^\s* (?:\w+[:.!\s]+\s+)?
(?:(?:well|and|or|yes|[uh]+m*|o+[oh]*[k]+(?:a+y+)?|still|well|so|[ah]+|[oh]+)[:,.!?\s]+|)*
(?:(?:well|and|or|yes|[uh]+m*|o+[oh]*[k]+(?:a+y+)?|still|well|so|a+h+|o+h+)[:,.!?\s]+|)*
(?:(?:geez?|boy|du+des?|golly|gosh|wow|whee|wo+ho+)?[:,.!\s]+|)*
(?:(?:heya?|hello|hi)(?:\s+there)?(?:\s+peoples?|\s+kids?|\s+folks?)?[:,!.?\s]+)*
(?:(?:geez?|boy|du+des?|golly|gosh|wow|whee|wo+ho+)?[:,.!\s]+|)*