[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Auto-props file pattern match problem

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-01 19:44:39 CEST

> -----Original Message-----
> From: C.A.T.Magic [mailto:c.a.t.magic@gmx.at]
>
> Jason K. Fritcher wrote:
> > I'm trying to make a rule to catch both Makefile* and makefile*.
> > The pattern I'm trying to use is '[Mm]akefile*', without the 's.
> > Unfortunately, it doesn't work. If I split those out into two
> > seperate patterns, 'Makefile*' and 'makefile*' it works just fine,
> > but I'd like to condense them into one pattern.
>
> i guess the config parser interprets the first '[' craracter
> as a chapter marker like in ' [auto-props] ' ?

If that's the case, can't you use the following pattern:

^[Mm]akefile*

^ anchors the regular expression to the start of the string you're matching. Hopefully, the RE library is setup to allow this.

--
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
http://www.wwwdotorg.org/work_contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 1 19:45:19 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.