Hi,<br><br>You need to escape the = with double \\<br><br>For example: [&#39;a\\=5=expression1&#39;, &#39;a\\=5*2=expression2&#39;]<br><br>Operators already have a human readable form within Guvnor. Why do you need to replicate the behaviour?<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 12 February 2013 11:55, rjr201 <span dir="ltr">&lt;<a href="mailto:rich.j.riley@gmail.com" target="_blank">rich.j.riley@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;ve created an enumeration in Guvnor like so:<br>
<br>
&#39;Object.operator[]&#39;: [&#39;== = equals&#39;, &#39;!= = does not equal&#39;, &#39;&lt; = less than&#39;,<br>
&#39;&gt; = greater than&#39;]<br>
<br>
The less than and greater than map fine. But the equals and does not equal<br>
don&#39;t. I realise that I need to escape the first two = signs, but can&#39;t find<br>
a way to do it.<br>
<br>
&#39;\=\= = equals&#39; doesn&#39;t work. Anyone got any ideas?<br>
<br>
Sorry if this is something really easy to solve, but I can&#39;t work it out.<br>
<br>
(also I realise that I could just have a drop down box with the mathematical<br>
symbols in and not worry about mapping it to english, but apparently that<br>
would be too technical for non-technical users )<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Mapping-to-in-enumeration-tp4022245.html" target="_blank">http://drools.46999.n3.nabble.com/Mapping-to-in-enumeration-tp4022245.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>