maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: Unexpected result for MatchPatterns
Date Tue, 19 Jul 2016 17:53:17 GMT
Hi Jochen,

the ** means zero or more directories
the * means exactly one file or directory

Robert

On Tue, 19 Jul 2016 08:00:57 +0200, Jochen Wiedmann  
<jochen.wiedmann@gmail.com> wrote:

> Hi,
>
> could anyone explain to me, why the following unit test fails. (I am
> using MatchPatterns from maven-shared-utils 3.0.1:)
>
>         final MatchPatterns mp = MatchPatterns.from("ORG/APACHE/**/*");
>         assertTrue(mp.matches("ORG/APACHE/TEST.JAVA", true));
>
> Thanks,
>
> Jochen
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message