Update lympha

parent 8afc54c7
......@@ -280,10 +280,12 @@ def mapfunc():
#comp = re.compile(r'(\d*)', re.IGNORECASE)
endstring = str()
string = (object_list[key].statement_value.replace(" ",""))
pattern = re.compile(r'(\w*\?)|(.*)')
pattern = r'([\=\+\-\%\*])'
#pattern = re.compile(r'(\w*\?)|(.*)')
#pattern = re.compile(r'\d*|\w*|\+|\-|\/|\*|\(|\)')
iteratorUntouched = pattern.split(string)
iteratorTouched = pattern.split(string)
#iteratorUntouched = pattern.split(string)
#iteratorTouched = pattern.split(string)
iteratorUntouched = re.split(pattern, string)
eqlist = dict()
for varWord in iteratorUntouched:
for objWord in range(len(object_list)):
......@@ -668,4 +670,4 @@ if __name__=='__main__':
if filecheck == True:
lexer()
else:
print("Please add file names.")
print("Please add file names.")
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment