Skip to content

Commit

Permalink
Fix regex quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Gilbey committed Dec 3, 2023
1 parent 739457e commit 4e73a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/pythonpath/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def check_path(path):
else:
pattern = re.compile(
r'.*(lib|lib64)/'
'(python|python\d+|python\d+\.\d+)/'
r'(python|python\d+|python\d+\.\d+)/'
'(site|dist)-packages.*'
)

Expand Down

0 comments on commit 4e73a96

Please sign in to comment.