[
https://issues.jboss.org/browse/JBRULES-2386?page=com.atlassian.jira.plug...
]
Mark Proctor updated JBRULES-2386:
----------------------------------
Fix Version/s: 5.2.0.CR1
Assignee: Tihomir Surdilovic (was: Mark Proctor)
tiho: this should be fixed, can you verify by committing this as a unit test.
Matches constraint fails to match regex
---------------------------------------
Key: JBRULES-2386
URL:
https://issues.jboss.org/browse/JBRULES-2386
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.0.1.FINAL
Reporter: Nick Heudecker
Assignee: Tihomir Surdilovic
Fix For: 5.2.0.CR1
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira