in reply to Re^4: Regexp problem matching commands for IRC bot
in thread Regexp problem matching commands for IRC bot

We can't help you if you don't show the code you actually used. The only time you'd get that string in message in the code you showed us was is the $_ was something like
:something!something PRIVMSG #channel :Admin!Admin@leet-A0B340B0.host.com PRIVMSG #channel :!quit
(assuming $channel was regexp matching '#channel').