Set insensitive case for rule check.
This commit is contained in:
parent
c672fed930
commit
54203f50a0
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ public class PropertyRule
|
||||||
*/
|
*/
|
||||||
public PropertyRule(final String label, final String pathRegex, final String valueRegex, final PropertyMode mode)
|
public PropertyRule(final String label, final String pathRegex, final String valueRegex, final PropertyMode mode)
|
||||||
{
|
{
|
||||||
this.pathPattern = Pattern.compile(pathRegex);
|
this.pathPattern = Pattern.compile(pathRegex, Pattern.CASE_INSENSITIVE);
|
||||||
this.valuePattern = Pattern.compile(valueRegex);
|
this.valuePattern = Pattern.compile(valueRegex, Pattern.CASE_INSENSITIVE);
|
||||||
this.mode = mode;
|
this.mode = mode;
|
||||||
this.label = label;
|
this.label = label;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue