'Set the regular expression filtering pattern. Only items matching
the `pattern` expression will be shown.'

def setFilterRegExp(self, pattern):

    filter_proxy = self.view().model()
    filter_proxy.setFilterRegExp(pattern)
    self.ensureCurrent()
