diff --git a/lib/cvsdb.py b/lib/cvsdb.py index dbc0c749..0be1508a 100644 --- a/lib/cvsdb.py +++ b/lib/cvsdb.py @@ -447,7 +447,7 @@ class CheckinDatabase: match = " LIKE " elif query_entry.match == "glob": # check if the match is exact - if not re.match(r'(\*|\?|\[.*\])', data): + if not re.search(r'[*?]', data): # most optimal is just '=' for exact matches match = "=" else: