Use Python regex for document search tool

This commit is contained in:
Veronica Berglyd Olsen
2024-09-22 17:47:49 +02:00
parent 37c469dbc7
commit 9b08ebbbd5
3 changed files with 14 additions and 20 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ def testCoreTools_DocSearch(monkeypatch, mockGUI, fncPath, mockRnd, ipsumText):
# Patterns
# ========
# Escape Using QRegularExpression
# Escape
assert search._buildPattern("[A-Za-z0-9_]+") == r"\[A\-Za\-z0\-9_\]\+"
# Whole Words