From c912ccc3a8865300c54ddd95935af17b2ace32b6 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 16 Jul 2020 20:39:11 +0100 Subject: [PATCH] Fix lookup of source var that references an array --- util/test/rdtest/testcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/rdtest/testcase.py b/util/test/rdtest/testcase.py index a2a5b4f4b..4c53df320 100644 --- a/util/test/rdtest/testcase.py +++ b/util/test/rdtest/testcase.py @@ -566,7 +566,7 @@ class TestCase: remaining = '' # Otherwise, take off any child if we haven't started recursing - m = re.match("([a-zA-Z0-9_]+)(\[|\..*)", path) + m = re.match("([a-zA-Z0-9_]+)(\[.*|\..*)", path) if m: child = m.group(1) remaining = m.group(2)