def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def _compiledpats(self):
        pat, matchfunc = _buildregexmatch(self._kindpats, "")
        return matchfunc