hm
This commit is contained in:
parent
9b453cb0ff
commit
1969cd24c5
@ -3,7 +3,7 @@ import sys
|
||||
import re
|
||||
|
||||
def is_number(test):
|
||||
pattern = re.compile(r'^\-?\d*[05]$')
|
||||
pattern = re.compile(r'^\-?[1-9]*[05]$')
|
||||
|
||||
result = re.match(pattern, test)
|
||||
if result:
|
||||
|
Loading…
Reference in New Issue
Block a user