Skip to content

Commit

Permalink
Merge pull request #1 from gonchar/main
Browse files Browse the repository at this point in the history
fix bug with filterRegex
  • Loading branch information
Wasserwecken authored Jul 10, 2024
2 parents 6607181 + c45b6ad commit bdcf8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpatialTransform/lib/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def filterRegex(self, pattern: str) -> list["Transform"]:
if re.match(pattern, self.Name) is not None:
result.append(self)
for child in self.Children:
result.extend(child.filter(pattern))
result.extend(child.filterRegex(pattern))

return result

Expand Down

0 comments on commit bdcf8df

Please sign in to comment.