Hi!
hanumesh.m wrote:
> m: Message( fileName matches "*888*", message : message )
> [...]
>
> But its not working. Error is "Dangling meta character '*' near index 0
> *888*"
You have to use valid Java Regular Expressions (cf.
http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html).
What you probably meant was something like this:
m: Message( fileName matches "^.*888.*$", message : message )
HTH,
Christian
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users