[rules-users] Pattern matching question

Markus Wolf markus.wolf at nmmn.com
Tue Oct 2 06:01:21 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I have two questions for pattern matching with drools:

1. I have a multiline string to which a would match an expression. I've
tried that in various ways, but none worked. Is this not supported?

2. When I have a rule condition like this:
Somethin( test matches "abc def")
I'll get an exception during compilation saying "RuleError: Unable to
determine the used declarations". What does this mean?
When I remove the space and replace it with \s it does compile well.

Thanks for any help
Markus Wolf
- --
NMMN - New Media Markets & Networks GmbH
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona UStID DE 812 699 852  HRB 71102 Hamburg
HypoVereinsbank  -   BLZ 200 300 00  -  Konto-Nr. 156 29 82

http://www.nmmn.com               Tel.: +49 40 284 118 -0
Langbehnstrasse 6                 Entwicklung:         -720
22761 Hamburg                     Fax:                 -999

Rufen Sie uns kostenlos an: http://www.nmmn.com/call/software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAhbxDBHISU1oEKERAomwAKDadi+jqXtdL1D7rl7ehBO3bGm/9ACg123k
6p/ibdw1LsQL28RfUHI4ovk=
=ek2D
-----END PGP SIGNATURE-----



More information about the rules-users mailing list