[cvsnt] Re: Commitinfo - Force user to put in comment
Luigi D. Sandon
cp at sandon.it
Fri Nov 26 20:38:46 GMT 2004
> 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