[cvsnt] Re: How do I use module2?

Tony Hoyle tmh at nodomain.org
Thu Aug 12 10:01:36 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


John Kinson wrote:
> Tony, your ERE example in the manual isn't right (unless you've 
> implemented a non-standard RE engine).
> 
> In the line
> 
>     / = myproject (*\.cpp$|*\.[ch]$|*/$)
> 
> Surely that should either be
> 
>     / = myproject (.*\.cpp$|.*\.[ch]$|.*/$)
> 
> or more simply
> 
>     / = myproject (\.cpp$|\.[ch]$|/$)
> 
Actually all 3 should work, but the first one is a little bit more like 
the way Windows users expect it to work (the regexp engine implicitly
translates * in the first character to .*).

eg. you can use (*.cpp) and it'll work (but might bring back some
unexpected files in that case)

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook