[rules-users] DSL expression - ??
Edson Tirelli
tirelli at post.com
Mon Sep 24 11:12:26 EDT 2007
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070924/fa7e20f2/attachment.html
More information about the rules-users
mailing list