]
Brian Enderle updated JBRULES-965:
----------------------------------
Attachment: Address.dsl
Test File
Unexpected token 'not'
-----------------------
Key: JBRULES-965
URL:
http://jira.jboss.com/jira/browse/JBRULES-965
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.0.MR3
Environment: Win XP, Drools MR3 (Snapshot from 7/2/2007)
Reporter: Brian Enderle
Assigned To: Mark Proctor
Priority: Minor
Attachments: Address.drl, Address.dsl, Address.java
The following rule works in a DRL file
$i : Address( city not matches "[ a-zA-Z]" )
But when entered into a DSL file an "Unexpected token 'not'" error is
thrown.
DRL file: DSL entry:
There is a Address $i : {Instance}()
- city is not alpha only {field} not matches "[
a-zA-Z]"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: