Could not parse escaped characters
----------------------------------
Key: JBRULES-2992
URL:
https://issues.jboss.org/browse/JBRULES-2992
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Tomáš Schlosser
Assignee: Mark Proctor
Fix For: 5.2.0.M1
When trying to parse rule:
rule "Regex-A"
when
Person(name matches "\w\w\d{3}\w\w")
then
insert(new Message("Regex-A working"));
end
I get following exception:
Unable to Analyse Expression name ~= "\w\w\d{3}\w\w": [Error: illegal escape
sequence: w] [Near : {... name ~= "\w\w\d{3}\w\w" ....}] ^ [Line: 1, Column: 22]
: [Rule name='Regex-A']
use of KnowledgeBuilder property 'drools.parser.processStringEscapes' seems to
have no effect.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira