def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def _compiledpats(self):
        pat, matchfunc = _buildregexmatch(self._kindpats, "")
        return matchfunc