[ 
https://issues.apache.org/jira/browse/IO-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory resolved IO-737.
--------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

Please don't create duplicate tickets.

> 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)

Reply via email to