Pattern componentNamePattern;
PatternMatcher matcher = new Perl5Matcher();
String componentName = "";
try {
componentNamePattern = new PathNameCompiler().compile("META-INF/**/autoconf/auto-config.xml");
} catch (MalformedPatternException e) {
throw new ConfigException(e);
}
if (matcher.matches(name.replace('\\', '/'), componentNamePattern)) {