Hi everyone. I'm stuck with the problem which I don't quite know how to solve. It's about variables and string appending. How to mix regexps and variables? Interesting cases (described in the sample code with comments): // somewhere PART{ name=SomePart1 MODULE{ name=SomeModule someVar=1;2;3;4,5,6 someVar2=Text1;Text2;Text3;Text4,Text5,Text6 } } // elsewhere PART{ name=SomePart2 MODULE{ name=SomeModule someVar=1,2;3;4,5,6 someVar2=Text1,Text2;Text3;Text4,Text5,Text6 } } // In my config @PART [*]:HAS[SomeModule] { @MODULE[SomeModule] { // Get first part of semicolon-separated list of comma separated lists myVar= #$someVar[0,;]$ // Or it indexes from 1? // Sum fields from comma separated part of semicolon-separated list of lists @myVar2 = #$myVar[0]$ @myVar2:HAS[#myVar[*,*]] += #$myVar[1]$ // How to do previous step(s) right? @myVar2 ...= ... // some other simple math // Append a string to texts @someVar2 ^= :^.*$:$0;TextAdded: // Here, it's OK and clear // Append calculated var @someVar ^= #:^.*$:$0;$myVar2$: // But here comes a problem, it throws a parse error during Var replacement process. // Try to append calculated var with yet another way @someVar ^= :^.*$:$0;#$myVar2$: // This does the appending but not the value placement. Instead I get a string "#$myVar2$" here. } }