Re: Problem with RegexFileFilter

Gary Gregory <[email protected]> Wed, 20 Aug 2025 13:16:10 -0400
Newsgroups gmane.comp.jakarta.commons.user
Message-ID <CACZkXPx+1HYjHRv0R02T4O8F8DzZwM9MP360qpnMM5pyKHyQ8w@mail.gmail.com>
--000000000000aed062063ccf213d
Content-Type: text/plain; charset="UTF-8"

Hello,

What is the error? Do you have a stack trace?
If you can provide a unit test or a small reproducer, we can have something
no test.

Ty,
Gary


On Wed, Aug 20, 2025, 12:53 Oscar Besga Arcauz <[email protected]>
wrote:

> Hi all
>
> In our project we want to upgrade the commons-io library to the newest
> version.
> However, in our tests, we have found errors related to RegexFileFilter.
> Oddly, the error raises in linux but not in windows, so we wonder what are
> we doing wrong
>
> We want the filter to search for files to be later deleted, and we use
> these filters in the test.
> We use two regexp filters inside a OrFileFilter
>
> This is the log
> OrFileFilter(RegexFileFilter
> [pattern=^.*12345ToBeDeleted.*],RegexFileFilter
> [pattern=^.*43210ToBeDeleted.*]
>
> I see no differences between Linux and Windows executions, and I don't
> have a clue on what could be happening.
>
>
> Thanks in advance
>
>

--000000000000aed062063ccf213d--