[
https://issues.apache.org/jira/browse/IO-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17358583#comment-17358583
]
Jean-Baptiste Onofré commented on IO-737:
-----------------------------------------
Sorry about that, it was not obvious to me that IO-733 is related to OSGi
headers ;)
> 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
> Priority: Major
> Fix For: 2.10.0
>
>
> 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)