Problem with RegexFileFilter

Oscar Besga Arcauz <[email protected]> Wed, 20 Aug 2025 15:24:28 +0000
Newsgroups gmane.comp.jakarta.commons.user
Message-ID <AS2PR10MB76030B409F4B0698273EC92A8433A@AS2PR10MB7603.EURPRD10.PROD.OUTLOOK.COM>
--_000_AS2PR10MB76030B409F4B0698273EC92A8433AAS2PR10MB7603EURP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all

In our project we want to upgrade the commons-io library to the newest vers=
ion.
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 thes=
e filters in the test.
We use two regexp filters inside a OrFileFilter

This is the log
OrFileFilter(RegexFileFilter [pattern=3D^.*12345ToBeDeleted.*],RegexFileFil=
ter [pattern=3D^.*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


--_000_AS2PR10MB76030B409F4B0698273EC92A8433AAS2PR10MB7603EURP_--