Added ignorecase for path matching in property checker.
This commit is contained in:
parent
cff04844b7
commit
01ba2e0ac8
1 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ package fr.devinsy.statoolinfos.checker;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
/**
|
||||
* The Class PropertyRule.
|
||||
*/
|
||||
|
@ -62,7 +64,7 @@ public class PropertyRule
|
|||
{
|
||||
boolean result;
|
||||
|
||||
Matcher matcher = this.pathPattern.matcher(value);
|
||||
Matcher matcher = this.pathPattern.matcher(StringUtils.toRootLowerCase(value));
|
||||
result = matcher.matches();
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue