From: jussi.koskela Date: Wed, 18 Jun 2014 13:33:00 +0000 (+0000) Subject: refs #4969 X-Git-Tag: 1.8.1~16 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=16b4b1e4ef16d70a1f797d72ebc578fb94b93e60;p=simantics%2Fsysdyn.git refs #4969 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29653 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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", " ")); }