[cvsnt] Re: Commitinfo - Force user to put in comment

Luigi D. Sandon cp at sandon.it
Fri Nov 26 20:38:46 GMT 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.


> the "regular expression" should be.

Probably something that matches anything but an empty string. Something
alike

.+

Although I do not know if the regex engine used in CVS will match CR,  LF,
or spaces that way, allowing the user just to send them.

Maybe something alike

[^\r\n\s]+

Should match one or more characters that aren't carriage retuirns, line
feeds or spaces. Here is a good tutorial about regular expressions:

http://www.regular-expressions.info/tutorial.html

-- 
Luigi D. Sandon
cp at sandon.it





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