Fix for num_tex_symbols

This commit is contained in:
Grant Sanderson
2022-12-28 13:38:15 -08:00
parent 44dc22e5e4
commit 34d8ab81f9

View File

@ -32,7 +32,7 @@ def get_pattern_symbol_count_pairs() -> List[Tuple[str, int]]:
)
for count, tex_list in count_to_tex_list.items():
pattern = "|".join(r"\\" + s + r"(\s|\\)" + s for s in tex_list)
pattern = "|".join(r"\\" + s for s in tex_list)
pattern_symbol_count_pairs.append((pattern, count))
# Assume all other expressions of the form \thing are drawn with one path