You are confusing [^] with ^ ^test-mode matches from the beginning of the line. [^1234] matches a character other than 1234.
http://www.regular-expressions.info/reference.html 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 http://www.tripointglobal.com/ VertexRSI 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. _______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs
