Create a new instance of ColorString from a mIRC-formatted text
        :param text: mIRC-formatted text
        :return:

def from_irc(cls, text):
        """
        Create a new instance of ColorString from a mIRC-formatted text
        :param text: mIRC-formatted text
        :return:
        """
        from .grammars.irc import parse as parse_irc
        if isinstance(text, bytes):
            original_bytes = text
            text = text.decode('utf8')
        else:
            original_bytes = text.encode('utf8')
        instance = parse_irc(text)
        instance.original_type = 'irc'
        instance.original_bytes = original_bytes
        return instance