<br>&nbsp;&nbsp;&nbsp; No, you only need to escape the DSL mapping... not the actual code (BTW, &#39;.&#39; is a wildcard in regexp, so I recommend escaping it too):<br><br>[consequence][]{name}\.&quot;{indic}&quot;\+:{value}={name}.putIndicator(&quot;{indic}&quot;,{name}.get(&quot;{indic}&quot;)+{value});
<br><br>&nbsp;&nbsp;&nbsp; Should work with:<br><br>....<br>then<br>&nbsp;&nbsp;&nbsp; ex.&quot;eeee&quot;+:200<br>end<br><br>&nbsp;&nbsp;&nbsp; Is it not working?<br><br>&nbsp;&nbsp;&nbsp; Edson<br><br><br><div><span class="gmail_quote">2007/9/24, vdelbart &lt;<a href="mailto:delbart.v@mipih.fr">
delbart.v@mipih.fr</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>It doesn&#39;t work.<br><br>With :<br>[consequence][]{name}.&quot;{indic}&quot;\+:{value}={name}.putIndicator(&quot;{indic}&quot;,{name}.get(&quot;{indic}&quot;)+{value});
<br><br>this code :<br>ex.&quot;eeee&quot;\+:200<br><br>is mapping like that :<br>ex.&quot;eeee&quot;+:200<br><br>For information, I use the 4.0.1 Drools.<br><br>thks,<br><br>V.<br><br><br>--<br>View this message in context: 
<a href="http://www.nabble.com/DSL-expression------tf4507913.html#a12861056">http://www.nabble.com/DSL-expression------tf4507913.html#a12861056</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">
Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>