]
Edson Tirelli reassigned JBRULES-965:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
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: Edson Tirelli
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]"
After further coding I find that this issue also applies to 'not matches' whcih
was working prior to Snapshot from 7/2/2007.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: