-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
5.5.0.Final
Validation of a DSL rule in the guided editor fails when the DSL contains regex magic characters, such as '?'.
Example DSL:
[when]Assignment "{$assignment}" is
) )
In the textual rule editor, this works fine:
- Assignment "$a" is 1 day overdue
- Assignment "$b" is 2 days overdue
In the guided rule editor, it doesnt. Magic characters appear to be ignored, and no match with the DSL is made.
Verification gives the following errors:
[Assignment Overdue (Guided DSL)] [ERR 102] Line 5:13 mismatched input '"$assignment"' in rule "Assignment Overdue (Guided DSL)"
[Assignment Overdue (Guided DSL)] Parser returned a null Package