def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def _compiledpats(self):
        pat, matchfunc = _buildregexmatch(self._kindpats, "")
        return matchfunc