[jboss-jira] [JBoss JIRA] (JBRULES-2386) Matches constraint fails to match regex
Tihomir Surdilovic (Jira)
issues at jboss.org
Tue Mar 31 09:58:11 EDT 2020
[ https://issues.redhat.com/browse/JBRULES-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tihomir Surdilovic closed JBRULES-2386.
---------------------------------------
Resolution: Out of Date
> Matches constraint fails to match regex
> ---------------------------------------
>
> Key: JBRULES-2386
> URL: https://issues.redhat.com/browse/JBRULES-2386
> Project: JBRULES
> Issue Type: Bug
> Affects Versions: 5.0.1.FINAL
> Reporter: Nick Heudecker
> Assignee: Tihomir Surdilovic
> Priority: Major
> Fix For: 6.0.0.Alpha1
>
> 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 was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list