def dispatch_patterns(self):
return (<EOL>(self.nick_re, self.new_nick),<EOL>(self.nick_change_re, self.handle_nick_change),<EOL>(self.ping_re, self.handle_ping),<EOL>(self.part_re, self.handle_part),<EOL>(self.join_re, self.handle_join),<EOL>(self.quit_re, self.handle_quit),<EOL>(self.chanmsg_re, self.handle_channel_message),<EOL>(self.privmsg_re, self.handle_private_message),<EOL>(self.registered_re, self.handle_registered),<EOL>)<EOL>
\
        Low-level dispatching of socket data based on regex matching, in general
        handles

        * In event a nickname is taken, registers under a different one
        * Responds to periodic PING messages from server
        * Dispatches to registered callbacks when
            - any user leaves or enters a room currently connected to
            - a channel message is observed
            - a private message is received