hm
This commit is contained in:
parent
77cccc32b8
commit
3fc55229d6
@ -3,7 +3,7 @@ import sys
|
||||
import re
|
||||
|
||||
def is_number(test):
|
||||
pattern = re.compile(r'^\-?[1-9]*[05]$')
|
||||
pattern = re.compile(r'^\-?(([1-9][0-9]*[05])|(0))$')
|
||||
|
||||
result = re.match(pattern, test)
|
||||
if result:
|
||||
|
@ -3,7 +3,7 @@ import sys
|
||||
import re
|
||||
|
||||
def is_number(test):
|
||||
pattern = re.compile(r'^(1 roczek)|([2-4] (lata|latka))|([5-9]|(1[0-9])|20|21 lat)|(([2-9][2-4]) lata)|(([2-9](156789)|10[0-9]|110) lat)$')
|
||||
pattern = re.compile(r'^((1 roczek)|([2-4] (lata|latka))|(([5-9]|(1[0-9])|20|21) lat)|((([2-9][2-4])|10[2-4]) lata)|(([2-9](156789)|10[0-1]|10[5-9]|110) lat))$')
|
||||
|
||||
result = re.match(pattern, test)
|
||||
if result:
|
||||
|
@ -3,11 +3,12 @@ import sys
|
||||
import re
|
||||
|
||||
def is_number(test):
|
||||
pattern = re.compile(r'^([A-Za-ĆŁŚŹŻ]\w*[^a]|Kosma|Jarema) [A-Za-ĆŁŚŹŻ]\w*$')
|
||||
pattern = re.compile(r'^([A-ZĆŁŚŹŻ]\w*[^a]|Kosma|Jarema) [A-ZĆŁŚŹŻ]\w*$')
|
||||
|
||||
result = re.match(pattern, test)
|
||||
if result:
|
||||
test = test.split(' ')
|
||||
test[1] = test[1].replace('\n','')
|
||||
if(len(test[0])<2 or len(test[1])<2):
|
||||
return "<NONE>"
|
||||
else:
|
||||
|
@ -1 +1,2 @@
|
||||
2: A00 A13 A42 A45
|
||||
2: A00 A13 A42 A45
|
||||
2: A00 A13 A40 A45
|
3
shortcut.bat
Normal file
3
shortcut.bat
Normal file
@ -0,0 +1,3 @@
|
||||
git add TaskA%1/run
|
||||
git commit -m 'hm'
|
||||
git push origin master
|
Loading…
Reference in New Issue
Block a user