[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: rcsinfo/loginfo exclude directories

From: Bulgrien, Kevin
Subject: RE: rcsinfo/loginfo exclude directories
Date: Thu, 5 May 2005 16:32:48 -0500

You are confusing [^] with ^

^test-mode matches from the beginning of the line.  [^1234] matches
a character other than 1234.

I am not aware of a general purpose "not" for regular expressions.
As a rule, regular expressions try to match something, not "not
match" something.

Kevin R. Bulgrien
Product Engineer

General Dynamics C4 Systems         
1915 Harrison Road                                    Tel: 903-295-1480 x288
Longview, TX 75604-5438                               Fax: 903-295-1479

> -----Original Message-----
> hi,
> how does one specify, in the common syntax, the exclusion of a file?
> For example, I want to apply a script called bugz.txt to ALL commits
> except modules listed at the bottom of rcsinfo.  i have this regular
> expression in rcsinfo that I thought tells cvs to apply 
> bugz.txt to all
> modules that DO NO contain the string 'test-module' but it doesn't
> work:
> ^test-module /home/cvs/2.5/CVSROOT/bugz.txt
> what is the correct syntax for "not"?  I thought the '^' character was
> proper regexese.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]