From: jussi.koskela Date: Wed, 2 Jul 2014 13:48:49 +0000 (+0000) Subject: fixes #5056 X-Git-Tag: v1.29.0~253 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=79b073be29463c02dfe0655b256af6603f550b0d;p=simantics%2Fsysdyn.git fixes #5056 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29792 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 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 + "(\\[.*\\])?";