[cvsnt] modules2 help

Van Quakebeke, Joe Joe.VanQuakebeke at Ingenix.com
Wed Feb 7 22:01:21 GMT 2007


 
Thanks that was it.  One suggestion to the maintainers, please update
the example in the file.

Joe
> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Glen Starrett
> Sent: Wednesday, February 07, 2007 2:17 PM
> To: cvsnt at cvsnt.org
> Subject: Re: [cvsnt] modules2 help
> 
> Joe.VanQuakebeke at Ingenix.com wrote:
> > Here is my module definition:
> > [foo]
> > classes = MyTopLevel/win32/Grouper (^*.c$|^*.cpp$)
> 
> I haven't tried your example, but I think your regexp isn't valid. 
> Remember these are regexps, not directory wildcards.  * means 
> 'repeat the previous character 0 or more times'.
> 
> To do "beginning followed by one or more of any characters, 
> followed by literal .c or .cpp at end" it would look more like this:
> 
> (^.*\.c$|^.*\.cpp$)
> 
> However, I'm not sure you need to be that specific.  How many 
> files do you have that end in .c or .cpp that don't have a 
> filename?  Do you care?  This should work:
> 
> (\.c$|\.cpp$)
> 
> http://www.regular-expressions.info/
> 
> Regards,
> 
> --
> Glen Starrett
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 
> 

"Secure Server BSK" made the following
 annotations on 02/07/2007 05:01:27 PM
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
==============================


More information about the cvsnt mailing list