Dominik Reinarz created IO-737:
----------------------------------
Summary: RegexFileFilter is broken, matches against path (and not
filename)
Key: IO-737
URL: https://issues.apache.org/jira/browse/IO-737
Project: Commons IO
Issue Type: Bug
Components: Filters
Affects Versions: 2.9.0
Reporter: Dominik Reinarz
org.apache.commons.io.filefilter.RegexFileFilter.accept(Path,
BasicFileAttributes) filters against path
should be sth likeĀ
return
toFileVisitResult(pattern.matcher(path.getFileName().toString()).matches(),
path);
--
This message was sent by Atlassian Jira
(v8.3.4#803005)