Skip to content

Commit

Permalink
Fix an issue when invalid pattern from a list could skip next ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Oct 18, 2015
1 parent 29ea713 commit f0383ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebulk/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def matches(self, input_string):
for match in self._match(pattern, input_string):
yield_children = self._yield_children(match)
if not self._match_parent(match, yield_parent):
break
continue
validated = True
for child in match.children:
if not self._match_child(child, yield_children):
Expand Down

0 comments on commit f0383ba

Please sign in to comment.