(self, s)
return re.sub('[^\w-]', '_', s)
Sanitize the name of a metric to remove unwanted chars
Sanitize the name of a metric to remove unwanted chars
Sanitize the name of a metric to remove unwanted chars
def _sanitize(self, s):
        """Sanitize the name of a metric to remove unwanted chars
        """
        return re.sub('[^\w-]', '_', s)
def _sanitize ( self , s ) : return re . sub ( '[^\w-]' , '_' , s )