Use Python regex for document search tool
This commit is contained in:
3 files changed
+14
-20
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user