Re: Match syntax?

2012-11-30 Thread Mark H. Wood
On Thu, Nov 29, 2012 at 07:12:37PM +0100, Robert Scholte wrote:
 These patterns were introduced with Ant.

Well, glob matching goes back at least as far as Unix v1

  http://en.wikipedia.org/wiki/Glob_%28programming%29

Ant improved on this by adding the double-asterisk that matches any
depth of hierarchy levels (treating a level as an atom, not a string).

They're clearly not REs:  *.something viewed as an RE begins with a
quantifier which has nothing to quantify.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
I don't do doorbusters.


pgpVhzB81DDVS.pgp
Description: PGP signature


Match syntax?

2012-11-29 Thread org.apache.maven.user
Hello.

Quite a few things in Maven take patterns as input. One example would
be the Assembly plugin, which accepts strings of the form *.java, etc,
in its configuration when referring to files to include/exclude. Is
there a description anywhere of the syntax of these match patterns? Are they
just standard Java regexes?

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



Re: Match syntax?

2012-11-29 Thread Robert Scholte

These patterns were introduced with Ant.
http://ant.apache.org/manual/dirtasks.html#patterns is probably the best  
page describing the usage.


Robert

Op Thu, 29 Nov 2012 18:59:41 +0100 schreef  
org.apache.maven.u...@io7m.com:



Hello.

Quite a few things in Maven take patterns as input. One example would
be the Assembly plugin, which accepts strings of the form *.java, etc,
in its configuration when referring to files to include/exclude. Is
there a description anywhere of the syntax of these match patterns? Are  
they

just standard Java regexes?

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


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



Re: Match syntax?

2012-11-29 Thread org.apache.maven.user
On Thu, 29 Nov 2012 19:12:37 +0100
Robert Scholte rfscho...@apache.org wrote:

 These patterns were introduced with Ant.
 http://ant.apache.org/manual/dirtasks.html#patterns is probably the best  
 page describing the usage.

Thank you!

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