[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2386) Matches constraint fails to match regex
Nick Heudecker (JIRA)
jira-events at lists.jboss.org
Sun Dec 20 20:05:37 EST 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Heudecker updated JBRULES-2386:
------------------------------------
Attachment: drools-example.zip
Execute the drools.Main class to run the sample.
> Matches constraint fails to match regex
> ---------------------------------------
>
> Key: JBRULES-2386
> URL: https://jira.jboss.org/jira/browse/JBRULES-2386
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.1.FINAL
> Reporter: Nick Heudecker
> Assignee: Mark Proctor
> Attachments: drools-example.zip
>
>
> This rule fails to evaluate correctly:
> rule "Test Regex"
> when
> $q : Query()
> $g : QueryGroup() from $q.groups
> $f : QueryFilter(name == "address", regex == true) from $g.filters
> $p : Person(address.value matches $f.value)
> then
> System.out.println("Found regex match");
> end
> I've attached an example project that reproduces the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list