def __init__(self): myHelper.__init__(self) self.hexRe = re.compile( ur"\A(\s*)#(\s*)(\(?)(\s*)([\da-f]{2}\s*)(\s*,?\s*)([\da-f]{2}\s*)(\s*,?\s*)([\da-f]{2}\s*)(\s*)(\)?)(\s*)\Z", re.UNICODE|re.IGNORECASE)
def __init__(self): myHelper.__init__(self) self.rgbRe = re.compile( ur"\A(\s*)rgb(\s*)(\(?)(\s*)([\d]{,3}\s*%?)(\s*,?\s*)([\d]{,3}\s*%?)(\s*,?\s*)([\d]{,3}\s*%?)(\s*)(\)?)(\s*)\Z", re.UNICODE | re.IGNORECASE)
def __init__(self): myHelper.__init__(self) self.cmykRe = re.compile( ur"\A(\s*)cmyk(\s*)(\(?)(\s*)([\d]{,3}\s*%?)(\s*,?\s*)([\d]{,3}\s*%?)(\s*,?\s*)([\d]{,3}\s*%?)(\s*,?\s*)([\d]{,3}\s*%?)(\s*)(\)?)(\s*)\Z", re.UNICODE|re.IGNORECASE)
def __init__(self): myHelper.__init__(self) self.nameRe = re.compile(ur"\A( *)" + self.getReX11colors() + "( *)\Z", re.UNICODE | re.IGNORECASE)
def __init__(self): myHelper.__init__(self) self.nameRe = re.compile(ur"\A( *)" + self.getReX11colors() + "( *)\Z", re.UNICODE|re.IGNORECASE)