code: def search_regexp(self):
          
          if ((self.season == "") and (self.episode == "")):
              regexp = '^%s.*' % self.title.lower()
          elif (self.episode == ""):
              regexp = '^%s.*(s[0]*%s|season[\s\_\-\.]*%s).*' % (self.title.lower(), self.season, self.season)
          else:
              regexp = '^%s.*((s[0]*%s.*e[0]*%s)|[0]*%sx[0]*%s).*' % (self.title.lower(), self.season, self.episode, self.season, self.episode)
          return regexp
docs: Define the regexp used for the search