--- a/eric6/UI/FindFileDialog.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/UI/FindFileDialog.py Sat Aug 31 12:58:11 2019 +0200 @@ -11,7 +11,6 @@ import os import re -import sys from PyQt5.QtCore import pyqtSignal, Qt, pyqtSlot from PyQt5.QtGui import QCursor @@ -387,10 +386,7 @@ txt = re.escape(ct) if wo: txt = "\\b{0}\\b".format(txt) - if sys.version_info[0] == 2: - flags = re.UNICODE | re.LOCALE - else: - flags = re.UNICODE + flags = re.UNICODE if not cs: flags |= re.IGNORECASE try: