regex search with a space as the fist character
Hello, >>> print re.compile('u ').search(" u box2", 1) <_sre.SRE_Match object at 0x7ff1d918> >>> print re.compile(' u ').search(" u box2", 1) None Why ? -- http://mail.python.org/mailman/listinfo/python-list
Re: list as an instance attribute
Here goes, I have a base class that is the following : class primitive: def __init__(self): self.name = "" self.transforms = [] def copyInternalState(self, sourceObj, copyName): return null def copy(self, copyName):
