File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 23
23
import logging
24
24
import os
25
25
import platform
26
- import regex
26
+ import re
27
27
import requests
28
28
import site
29
29
import sys
@@ -408,9 +408,8 @@ def _is_excluded(self, abspath: str) -> bool:
408
408
409
409
# Resolve the path into POSIX format to match the patterns
410
410
pattern_path = _resolve_pattern (abspath , return_path = True )
411
-
412
411
for pattern in self .exclusion_patterns :
413
- if regex .search (pattern , pattern_path ):
412
+ if re .search (pattern , pattern_path ):
414
413
log .debug (f"Excluded pattern '{ pattern } ': { abspath } " )
415
414
self .excluded_entries .append (f"{ pattern } - { pattern_path } " )
416
415
return True
Original file line number Diff line number Diff line change 23
23
import logging
24
24
import os
25
25
import platform
26
- import regex
26
+ import re
27
27
import requests
28
28
import site
29
29
import sys
@@ -408,9 +408,8 @@ def _is_excluded(self, abspath: str) -> bool:
408
408
409
409
# Resolve the path into POSIX format to match the patterns
410
410
pattern_path = _resolve_pattern (abspath , return_path = True )
411
-
412
411
for pattern in self .exclusion_patterns :
413
- if regex .search (pattern , pattern_path ):
412
+ if re .search (pattern , pattern_path ):
414
413
log .debug (f"Excluded pattern '{ pattern } ': { abspath } " )
415
414
self .excluded_entries .append (f"{ pattern } - { pattern_path } " )
416
415
return True
You can’t perform that action at this time.
0 commit comments