<div>Thx Christian Spurk for your response.!</div>
<div><br> </div>
<div><span class="gmail_quote">On 2/6/08, <b class="gmail_sendername">Christian Spurk</b> <<a href="mailto:Christian.Spurk@dfki.de">Christian.Spurk@dfki.de</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi!<br><br>hanumesh.m wrote:<br>> m: Message( fileName matches "*888*", message : message )<br>
> [...]<br>><br>> But its not working. Error is "Dangling meta character '*' near index 0<br>> *888*"<br><br>You have to use valid Java Regular Expressions (cf.<br><a href="http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html">http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html</a>).<br>
What you probably meant was something like this:<br><br>m: Message( fileName matches "^.*888.*$", message : message )<br><br>HTH,<br>Christian<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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div>
<br>