home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86511d
)
Make quote search case-insensitive.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 5 Feb 2020 22:04:28 +0000
(23:04 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 5 Feb 2020 22:04:28 +0000
(23:04 +0100)
plomsearch.py
patch
|
blob
|
history
diff --git
a/plomsearch.py
b/plomsearch.py
index 54eacbb83adfe1df1ed3e2c4d14d30dd07035828..fc5665fa24bfc3c402a2eea11cbcfd4839ad780d 100644
(file)
--- a/
plomsearch.py
+++ b/
plomsearch.py
@@
-204,7
+204,7
@@
def search(query, string_list):
def testStringMatchLogic(statement, compare_value):
if type(statement) == str:
- statement_true = statement
in compare_value
+ statement_true = statement
.lower() in compare_value.lower()
elif type(statement) == CompoundStatement:
or_list_true = False
if len(statement.or_list) > 1: