def _parse_supybot_msg(self, line):
patterns = [(self.SUPYBOT_COMMENT_REGEX, self.TCOMMENT),<EOL>(self.SUPYBOT_COMMENT_ACTION_REGEX, self.TCOMMENT),<EOL>(self.SUPYBOT_SERVER_REGEX, self.TSERVER),<EOL>(self.SUPYBOT_BOT_REGEX, self.TCOMMENT)]<EOL>for p in patterns:<EOL><INDENT>m = p[<NUM_LIT:0>].match(line)<EOL>if not m:<EOL><INDENT>continue<EOL><DEDENT>return p[<NUM_LIT:1>], m.group('<STR_LIT>'), m.group('<STR_LIT:body>').strip()<EOL><DEDENT>msg = "<STR_LIT>" % (str(self.nline))<EOL>raise ParseError(cause=msg)<EOL>
Parse message section