From c45b6ada577dd0e954c410ee58902a3a4c0ace62 Mon Sep 17 00:00:00 2001 From: gonchar Date: Wed, 10 Jul 2024 17:46:37 +0100 Subject: [PATCH] fix bug with filterRegex --- SpatialTransform/lib/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpatialTransform/lib/transform.py b/SpatialTransform/lib/transform.py index 2b66bc4..2bd650d 100644 --- a/SpatialTransform/lib/transform.py +++ b/SpatialTransform/lib/transform.py @@ -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