Use Python regex for document search tool

This commit is contained in:
Veronica Berglyd Olsen committed 2024-09-22 17:47:49 +02:00
1 parent 37c469dbc7
commit 9b08ebbbd5
3 files changed
+14 -20

No files matched your search

+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