From: dms Date: Tue, 17 Apr 2001 14:03:57 +0000 (+0000) Subject: forgot to use \d+ for read shortcut X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e846d440ed46194ed51057881942e2d1fcce4553;p=infobot.git forgot to use \d+ for read shortcut other changes that the last commit missed or something git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@444 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/News.pl b/blootbot/src/Modules/News.pl index eec78ee..6b5264d 100644 --- a/blootbot/src/Modules/News.pl +++ b/blootbot/src/Modules/News.pl @@ -79,7 +79,7 @@ sub Parse { } elsif ($what =~ /^set(\s+(.*))?$/i) { &set($2); - } elsif ($what =~ /^(\d)$/i) { + } elsif ($what =~ /^(\d+)$/i) { &::DEBUG("read shortcut called."); &read($1);