Commit 209a8c74f58dd5bd89d481ac5aa4aa2d79d416e4
1 parent
9e4f7e57
mała poprawka w wyrażeniach regularnych z "*"
git-svn-id: svn://svn.nlp.ipipan.waw.pl/morfeusz/morfeusz@144 ff4e3ee1-f430-4e82-ade0-24591c43f1fd
Showing
1 changed file
with
1 additions
and
1 deletions
fsabuilder/morfeuszbuilder/segrules/rules.py
... | ... | @@ -125,7 +125,7 @@ class ZeroOrMoreRule(UnaryRule): |
125 | 125 | startState.addTransition(None, endState) |
126 | 126 | self.child._doAddToNFA(intermStartState, intermEndState) |
127 | 127 | intermEndState.addTransition(None, endState) |
128 | - endState.addTransition(None, intermStartState) | |
128 | + intermEndState.addTransition(None, intermStartState) | |
129 | 129 | |
130 | 130 | def allowsEmptySequence(self): |
131 | 131 | return True |
... | ... |