<br>&nbsp;&nbsp; Markus<br><br>1. The &quot;matches&quot; operator is simply syntax sugar over the String.matches() call, and as such, multi-line&nbsp; strings will not match. I think you need to create either a function or use a global pattern properly compiled to match multi-lines.
<br><br>2. This is a strange, but if it is happening, it is a bug. May I ask you please to open a JIRA for it?<br><br>&nbsp;&nbsp; Thanks<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/10/2, Markus Wolf &lt;<a href="mailto:markus.wolf@nmmn.com">
markus.wolf@nmmn.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>
Hi, I have two questions for pattern matching with drools:<br><br>1. I have a multiline string to which a would match an expression. I&#39;ve<br>tried that in various ways, but none worked. Is this not supported?<br><br>2. When I have a rule condition like this:
<br>Somethin( test matches &quot;abc def&quot;)<br>I&#39;ll get an exception during compilation saying &quot;RuleError: Unable to<br>determine the used declarations&quot;. What does this mean?<br>When I remove the space and replace it with \s it does compile well.
<br><br>Thanks for any help<br>Markus Wolf<br>- --<br>NMMN - New Media Markets &amp; Networks GmbH<br>Geschäftsführung: Kfm. Michael Schütt<br>Finanzamt HH-Altona UStID DE 812 699 852&nbsp;&nbsp;HRB 71102 Hamburg<br>HypoVereinsbank&nbsp;&nbsp;-&nbsp;&nbsp; BLZ 200 300 00&nbsp;&nbsp;-&nbsp;&nbsp;Konto-Nr. 156 29 82
<br><br><a href="http://www.nmmn.com">http://www.nmmn.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel.: +49 40 284 118 -0<br>Langbehnstrasse 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Entwicklung:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -720<br>22761 Hamburg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -999
<br><br>Rufen Sie uns kostenlos an: <a href="http://www.nmmn.com/call/software">http://www.nmmn.com/call/software</a><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br>Comment: Using GnuPG with Mozilla - 
<a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br><br>iD8DBQFHAhbxDBHISU1oEKERAomwAKDadi+jqXtdL1D7rl7ehBO3bGm/9ACg123k<br>6p/ibdw1LsQL28RfUHI4ovk=<br>=ek2D<br>-----END PGP SIGNATURE-----<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><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ 
<a href="http://www.jboss.com">www.jboss.com</a>