fixed typos

This commit is contained in:
Christian Risi 2025-10-03 13:27:17 +02:00
parent c5c0c61f79
commit 51f491d033

View File

@ -2,7 +2,7 @@ import re
def special_regex_maker(special_tokens: list[str]) -> re.Pattern:
""" compile a regex for the special token
"""compile a regex for the special token
Args:
special_tokens (list[str]): the list of special token
@ -13,4 +13,3 @@ def special_regex_maker(special_tokens: list[str]) -> re.Pattern:
REGEX_STR = "|".join(special_tokens)
return re.compile(REGEX_STR)