'Compile regex by first usage.'

def _compileRegex(self):

    if (not self._cRegex):
        try:
            self._cRegex = re.compile(self.regex)
        except Exception as e:
            logSys.error('Compile    %r    failed,    expression    %r', self.name, self.regex)
            raise e
