[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2992) Could not parse escaped characters

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Thu May 26 15:36:05 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-2992:
--------------------------------------

    Fix Version/s: 5.2.0.CR2
                       (was: 5.2.0.CR1)


> 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) 
>    Affects Versions: 5.2.0.M2
>            Reporter: Tomáš Schlosser
>            Assignee: Edson Tirelli
>             Fix For: 5.2.0.CR2
>
>
> 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. Worked in 5.1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list