if(Pattern.matches(fileToFind, Token.string(getName(data, n))))
res.add(n);
}
return res.finish();
}
<BUG>public static int[] getOneSpecificFileOrDir(final Data data, final int pre,
final String path) {
final IntList res = new IntList();</BUG>
final DirIterator it = new DirIterator(data, pre);
String fileToFind = FSUtils.transformToRegex(path);

if(Pattern.matches(fileToFind, Token.string(getName(data, n))))
res.add(n);
}
return res.finish();
}
public static int getOneSpecificDir(final Data data, final int pre,
final String path) {
final DirIterator it = new DirIterator(data, pre);
String fileToFind = FSUtils.transformToRegex(path);
