From 528589edc626b5ff1477a380073d7ab53e8c2ae3 Mon Sep 17 00:00:00 2001 From: KorvinSzanto Date: Thu, 16 Aug 2012 14:28:21 -0700 Subject: [PATCH] Added novelty Where in the world is Symbol? match to IRCbot. Summary: Added match to the novel statement: Where in the world is derp? Test Plan: Say something like "Where in the world is CarmenSandiego?" Reviewers: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D3318 --- .../daemon/irc/handler/PhabricatorIRCObjectNameHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/daemon/irc/handler/PhabricatorIRCObjectNameHandler.php b/src/infrastructure/daemon/irc/handler/PhabricatorIRCObjectNameHandler.php index 5ced711c94..6abcdaee74 100644 --- a/src/infrastructure/daemon/irc/handler/PhabricatorIRCObjectNameHandler.php +++ b/src/infrastructure/daemon/irc/handler/PhabricatorIRCObjectNameHandler.php @@ -229,7 +229,7 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler { $text = $message->getMessageText(); $matches = null; - if (!preg_match('/where is (\S+?)\?/i', $text, $matches)) { + if (!preg_match('/where(?: in the world) is (\S+?)\?/i', $text, $matches)) { return; }