aboutsummaryrefslogtreecommitdiff
path: root/data_lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'data_lib.py')
-rw-r--r--data_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data_lib.py b/data_lib.py
index 5c830c7..5015fdc 100644
--- a/data_lib.py
+++ b/data_lib.py
@@ -226,7 +226,7 @@ def decode_2char_rot_minus3(s):
buf = ''
for line in lines:
line = line.replace(' ', '')
- if line in ('3', '4', '7/5'):
+ if re.sub(r'[\.\!\?\\/]', '', line).isdigit():
buf += line
continue
buf += line[1]