Added ignorecase for path matching in property checker.

This commit is contained in:
Christian P. MOMON 2020-10-29 02:01:39 +01:00
parent cff04844b7
commit 01ba2e0ac8

View file

@ -21,6 +21,8 @@ package fr.devinsy.statoolinfos.checker;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
/** /**
* The Class PropertyRule. * The Class PropertyRule.
*/ */
@ -62,7 +64,7 @@ public class PropertyRule
{ {
boolean result; boolean result;
Matcher matcher = this.pathPattern.matcher(value); Matcher matcher = this.pathPattern.matcher(StringUtils.toRootLowerCase(value));
result = matcher.matches(); result = matcher.matches();
// //