We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a syntax warning in /core/dom.py
Line 27 controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', '\$'))
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', '\$'))
Line 36 controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', '\$'))
triggers a syntax warning with invalid escape sequence '\$'
invalid escape sequence '\$'
Screenshots
Fix We need to replace the
Line 27 with controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', r'\$'))
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', r'\$'))
and
Line 36 with controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', r'\$'))
we just need to ask python to take the Raw String by adding r\'$'
r\'$'
Environment:
Other comments I really appreciate your contribution to the Field.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have a syntax warning in /core/dom.py
Line 27
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', '\$'))
Line 36
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', '\$'))
triggers a syntax warning with
invalid escape sequence '\$'
Screenshots
Fix
We need to replace the
Line 27 with
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', r'\$'))
and
Line 36 with
controlledVariables.add(re.search(r'[a-zA-Z$_][a-zA-Z0-9$_]+', part).group().replace('$', r'\$'))
we just need to ask python to take the Raw String by adding
r\'$'
Environment:
Other comments
I really appreciate your contribution to the Field.
The text was updated successfully, but these errors were encountered: