Skip to content

Commit 1c17519

Browse files
committed
regex correction
1 parent 96f7683 commit 1c17519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/annotation_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
if spec in ["core", "validation", "hyper-schema"]: print_github_action_notice(file, urls[draft][spec] + section)
6060
elif spec in ["quote"]: continue
6161
elif spec in ["ecma262", "perl5"]: print_github_action_notice(file, urls[spec] + section)
62-
elif re.match("^rfc\\d+$"): print_github_action_notice(file, urls["rfc"] + spec + ".txt#" + section)
62+
elif re.match("^rfc\\d+$", spec): print_github_action_notice(file, urls["rfc"] + spec + ".txt#" + section)
6363
else: print_github_action_notice(file, urls["iso"])
6464
except json.JSONDecodeError as e:
6565
print(f"Error parsing JSON in file '{file}': {e}")

0 commit comments

Comments
 (0)