bear_backup.py
def filename(self):
        """Generates a filename from the note title, without any file
        extension"""
        filename = self.title()
        # Strip anything that isn't alphanumeric or spaces
        filename = re.sub('[^\w\s]+', '_', filename)
        # Collapse spaces
        filename = re.sub('\s+', ' ', filename)
        return filename
Generates a filename from the note title, without any file
        extension
Generates a filename from the note title, without any file
extension
Generates a filename from the note title without any file extension
def filename(self):
        filename = self.title()
        filename = re.sub('[^\w\s]+', '_', filename)
        filename = re.sub('\s+', ' ', filename)
        return filename
def filename ( self ) : filename = self . title ( ) filename = re . sub ( '[^\w\s]+' , '_' , filename ) filename = re . sub ( '\s+' , ' ' , filename ) return filename
Generates a filename from the note title, without any file
extension
Generates a filename from the note title without any file extension
"""Generates a filename from the note title, without any file
        extension""" # Strip anything that isn't alphanumeric or spaces # Collapse spaces
self