[
https://issues.apache.org/jira/browse/IO-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jim Sellers closed IO-733.
--------------------------
The snapshot passes my test.
Thanks so much for the fast turn around.
Closing.
> RegexFileFilter uses the path and file name instead of just the file name.
> --------------------------------------------------------------------------
>
> Key: IO-733
> URL: https://issues.apache.org/jira/browse/IO-733
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.9.0
> Reporter: Jim Sellers
> Assignee: Gary D. Gregory
> Priority: Major
> Fix For: 2.10.0
>
>
> I had a filename search where I looked for patterns that would not be picked
> up by surefire but had similar naming.
> It is with an "and", "no", and a "regex" filter similar to
> {code:java}
> IOFileFilter fileFilter = FileFilterUtils.and(//
> FileFilterUtils.notFileFilter(includeFileFilter), //
> new RegexFileFilter(".*Test.*\\.java")); {code}
> I created a test project to reproduce the issue
> [https://github.com/sellersj/apache-commons-io-issue]
> I tested back to version 2.2 and it was the same to 2.8.0. The new behaviour
> happens with 2.9.0
--
This message was sent by Atlassian Jira
(v8.3.4#803005)