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