BaseTools: Fix Python SyntaxWarning
- Windows paths must be escaped - Regex should use raw strings Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
import re
|
||||
|
||||
_double_star_after_invalid_regex = re.compile(r'[^/\\]\*\*')
|
||||
_double_star_first_before_invalid_regex = re.compile('^\\*\\*[^/]')
|
||||
_double_star_first_before_invalid_regex = re.compile(r'^\\*\\*[^/]')
|
||||
_double_star_middle_before_invalid_regex = re.compile(r'[^\\]\*\*[^/]')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user