No, you only need to escape the DSL mapping... not the actual code (BTW, '.' is a wildcard in regexp, so I recommend escaping it too):

[consequence][]{name}\."{indic}"\+:{value}={name}.putIndicator("{indic}",{name}.get("{indic}")+{value});

    Should work with:

....
then
    ex."eeee"+:200
end

    Is it not working?

    Edson


2007/9/24, vdelbart < delbart.v@mipih.fr>:

Hi,

It doesn't work.

With :
[consequence][]{name}."{indic}"\+:{value}={name}.putIndicator("{indic}",{name}.get("{indic}")+{value});

this code :
ex."eeee"\+:200

is mapping like that :
ex."eeee"+:200

For information, I use the 4.0.1 Drools.

thks,

V.


--
View this message in context: http://www.nabble.com/DSL-expression------tf4507913.html#a12861056
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com