PDA

View Full Version : ignore cvs keywords


trevezel
02-Aug-2004, 04:47 AM
When comparing source code that has embedded rcs/cvs keywords, it would be great if BeyondCompare could be configured to ignore any differences in these (expanded) keywords.

Ernie
02-Aug-2004, 08:20 AM
Why not modify your rules for the file type(s) you are comparing. Use the "Tools" -> "Options" -> "Rules" menu sequence and select your file type. "Edit" the settings and add a regular expression on the "Importance" tab to ignore CVS/RCS tags.

The following should work:

(?i)\$((id)|(log)):.+\$

Just add other keywords you encounter.

trevezel
11-Aug-2004, 02:43 AM
Hi Ernie,

Thanks for that.. I hadn't thought of doing it that way.

Cheers,

David