Skip to content
Snippets Groups Projects
Commit 31810603 authored by Iori Ichinose's avatar Iori Ichinose :speech_balloon:
Browse files

add limit

parent f85d082b
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ class Command:
def repeat(m: re.Match) -> str:
key = m.group(1)
count = int(m.group(2))
count = 15 if count >= 15 else count
return key * count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment