1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

Fix partial regex match yielding false positive

This commit is contained in:
glubsy
2021-06-17 03:49:59 +02:00
parent 0b46ca2222
commit ab8750eedb
3 changed files with 15 additions and 10 deletions

View File

@@ -129,8 +129,7 @@ class ExcludeListDialog(QDialog):
except re.error:
self.reset_input_style()
return
match = compiled.match(input_text)
if match:
if compiled.fullmatch(input_text):
self._input_styled = True
self.inputLine.setStyleSheet("background-color: rgb(10, 200, 10);")
else: