diff --git a/qutebrowser/completion/models/sortfilter.py b/qutebrowser/completion/models/sortfilter.py index 7b2d9bf6e..f3eb6288a 100644 --- a/qutebrowser/completion/models/sortfilter.py +++ b/qutebrowser/completion/models/sortfilter.py @@ -71,8 +71,8 @@ class CompletionFilterModel(QSortFilterProxyModel): """ with debug.log_time(log.completion, 'Setting filter pattern'): self.pattern = val - self.patternre = re.compile(re.escape(val.casefold()) - .replace(r'\ ', r'.*')) + self.patternre = re.compile(re.escape( + val.casefold()).replace(r'\ ', r'.*')) self.invalidateFilter() sortcol = 0 try: