Closed gagath closed 9 months ago
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,+-._/]+$':
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,+-._/]+$':