From 16b4b1e4ef16d70a1f797d72ebc578fb94b93e60 Mon Sep 17 00:00:00 2001 From: "jussi.koskela" Date: Wed, 18 Jun 2014 13:33:00 +0000 Subject: [PATCH] refs #4969 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29653 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/adapter/IndexVariable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java index a052211e..cfd243eb 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java @@ -218,8 +218,8 @@ public abstract class IndexVariable extends AbstractPropertyVariable { test = rvi + "(\\[.*\\])?"; } for(String k : rvis.keySet()) { - if(k.matches(test)) { - String value = rvis.get(k); + String value = rvis.get(k); + if(k.matches(test) || value.matches(test)) { result.first.add(k.substring(1).replace("/", ".").replace("%20", "_")); result.second.add(value.substring(1).replace("/", ".").replace("%20", " ")); } -- 2.47.1