Commit f1ae9ead by s_guodong

checkAll

parent 0d2d9f5f
......@@ -109,6 +109,9 @@ public abstract class AbstractRuleEmitter implements IRuleEmitter {
protected boolean checkPathMatch(String path, String target) {
if(target.startsWith("\\")){
target = target.substring(1).toLowerCase();
}
int targetLen = target.length();
return targetLen == 0 ||
(path.startsWith(target) && (path.length() == targetLen || path.charAt(targetLen) == '.'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment