From 79b073be29463c02dfe0655b256af6603f550b0d Mon Sep 17 00:00:00 2001 From: "jussi.koskela" Date: Wed, 2 Jul 2014 13:48:49 +0000 Subject: [PATCH] fixes #5056 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29792 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/adapter/IndexVariable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cfd243eb..606b9f33 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/IndexVariable.java @@ -212,7 +212,7 @@ public abstract class IndexVariable extends AbstractPropertyVariable { String test = rvi; if(indexes != null && !indexes.isEmpty()) { - String regexIndexes = indexes.trim().replaceAll("\\b_\\b", "[a-zA-Z0-9_]*"); // Why was there was ".replace('.', ',')" ? - Removed by Teemu 2.9.2012 + String regexIndexes = indexes.trim().replaceAll(":", "[a-zA-Z0-9_]*"); // Why was there was ".replace('.', ',')" ? - Removed by Teemu 2.9.2012 test = rvi + "\\[" + regexIndexes + "\\]"; } else { test = rvi + "(\\[.*\\])?"; -- 2.47.1