We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1467f6b commit 24d0175Copy full SHA for 24d0175
1 file changed
script/escapingTags.py
@@ -127,11 +127,11 @@ def print_help():
127
# If we encounter a "<" and are not in quoted text
128
if not in_simple_quote and not in_triple_quotes and currentChar.val == "<":
129
# We check if it looks like a tag
130
- if re.match("[\?a-zA-Z\d]", chars[ite+1].val):
+ if re.match(r"[?a-zA-Z\d]", chars[ite+1].val):
131
# We found a new tag, first we are going to parse to get its name
132
tag = [currentChar]
133
ite += 1
134
- while re.match("[\?a-zA-Z\d]", chars[ite].val):
+ while re.match(r"[?a-zA-Z\d]", chars[ite].val):
135
tag += [chars[ite]]
136
137
currentChar = chars[ite]
0 commit comments