Hi
in my decision table in the action column i want to validate a value against
a regex, and return the boolean back as a response. The condition i have
is:
eval($t.getTestVal() matches("[A-Z"))
The DRL that gets generated is:
eval($t.getTestVal() matches(\"[A-Z\")));
It seems to be adding the escape characters in which i don't want, and i
suspect is causing me my issue. The error coming out is:
Errors when compiling rules [19,0]: [ERR 102] Line 19:0 mismatched input ''
[19,0]: [ERR 102] Line 19:0 mismatched input '<eof>' in rule
--
View this message in context:
http://drools.46999.n3.nabble.com/Matching-against-regex-failing-tp402037...
Sent from the Drools: User forum mailing list archive at
Nabble.com.