def col(self, c):
m = self.COLOUR.search(c)<EOL>if not m:<EOL><INDENT>self.logger.fatal("<STR_LIT>", c)<EOL>raise ParseError("<STR_LIT>".format(c))<EOL><DEDENT>value = m.group('<STR_LIT:value>')<EOL>color = m.group('<STR_LIT>')<EOL>self.logger.debug("<STR_LIT>", c.strip(), color, value)<EOL>return color, value<EOL>
Parse colour specification