'hm'
This commit is contained in:
parent
7ee1bdc979
commit
cf8393ebe0
@ -21,6 +21,7 @@ class automata:
|
||||
|
||||
def test_string(self, text):
|
||||
self.state = '0'
|
||||
text = text.replace('\n', '')
|
||||
for i in text:
|
||||
self.state = self.get_node_transition([self.state, i])
|
||||
if self.state == None:
|
||||
|
Loading…
Reference in New Issue
Block a user