Hey..
I have encountered a problem using the 'maches' operator in drool.. I wanna
write something like this (just made a simple example)
rule "Hello World"
when
m: Message("5" matches "5")
then
System.out.println("Test");
end
But eclipse tells me " '"5" ~= "5"' must be an boolean
expression ", and i
get an runtime error if i try to run it.. However if I use 'not matches' it
works! Forcing me to do something like this:
when
not m: Message("5" not matches "5")
then
Any ideas how to fix this?
- Thanks!
--
Peter