code: def get_filter_regex(self):
          
          if self.windowInfoRegex is not None:
              if self.isRecursive:
                  return self.windowInfoRegex.pattern
              else:
                  return self.windowInfoRegex.pattern
          elif self.parent is not None:
              return self.parent.get_child_filter()
          else:
              return ""
docs: Used by the GUI to obtain human-readable version of the filter