Skip to content

Commit

Permalink
Fix regex pattern to remove syntax warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Jul 9, 2024
1 parent 01354a0 commit 9a3bde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/fitBrowserLite.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def isMatch(fit, searchTokens):
return True

matches = []
searchTokens = [t.lower() for t in re.split('\s+', searchPattern)]
searchTokens = [t.lower() for t in re.split(r'\s+', searchPattern)]
for fit in self.allFits:
if isMatch(fit, searchTokens):
matches.append(fit)
Expand Down

0 comments on commit 9a3bde8

Please sign in to comment.