Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SyntaxWarning: invalid escape sequence
This commit fixes the following warnings: extract_example.py: SyntaxWarning: invalid escape sequence '\s' root_node = re.search('/\s*{', ex) extract_example.py: SyntaxWarning: invalid escape sequence '\s' int_val = re.search('\sinterrupts\s*=\s*<([0-9a-zA-Z |()_]+)>', ex).group(1) validator.py: SyntaxWarning: invalid escape sequence '\-' del props['^[a-z][a-z0-9\-]*$'] validator.py: SyntaxWarning: invalid escape sequence '\^' prog = re.compile('.*[\^\[{\(\$].*') validator.py: SyntaxWarning: invalid escape sequence '\-' if c != '^[a-zA-Z0-9][a-zA-Z0-9,+\-._/]+$': Signed-off-by: Agathe Porte <gagath@debian.org>
- Loading branch information