Skip to content

Commit

Permalink
Removing anomalous backslash in regex string by using raw string.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Jul 8, 2024
1 parent 3ac1b72 commit 6024452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate_input_to_stdnames_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def parse_csv(csv_filepath):
datamap = defaultdict(set)
pattern = re.compile("\w+")
pattern = re.compile(r"\w+")
print(f"Opening {csv_filepath}")
with open(csv_filepath, encoding='ascii') as csvfile:
csvdata = csv.reader(csvfile)
Expand Down

0 comments on commit 6024452

Please sign in to comment.