[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1243) Pattern matching does not allow spaces

Markus Wolf (JIRA) jira-events at lists.jboss.org
Tue Oct 2 10:29:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1243?page=all ]

Markus Wolf updated JBRULES-1243:
---------------------------------


The given rule is not exactlly, to reproduct one have to use the following condition:
  Something( prop1.prop2 matches "abc def")
I've read that this matching is delegated to MVEL - maybe the bug belongs to MVEL then.

> Pattern matching does not allow spaces
> --------------------------------------
>
>                 Key: JBRULES-1243
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1243
>             Project: JBoss Drools
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>            Reporter: Markus Wolf
>         Assigned To: Mark Proctor
>
> When I have a rule condition like this:
>   Something( test matches "abc def")
> I'll get an exception during compilation saying "RuleError: Unable to determine the used declarations".
> When I remove the space and replace it with \s it does compile well.
> Spaces should be possible in regular expressions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list