diff --git a/src/orig.py b/src/orig.py index a41967f..8b91aeb 100755 --- a/src/orig.py +++ b/src/orig.py @@ -90,7 +90,7 @@ def get_symbols(line: str) -> (str, list[str]): x = i i += 2 while i < len(line): - if line[i].isdigit(): + if line[i] >= '0' and line[i] <= '9': i += 1 continue