Ignoring File Headers?

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
JeffHughesATX
New Member
Posts: 1
Joined: Mon Feb 08, 2016 1:46 pm

Ignoring File Headers?

Post by JeffHughesATX »

I have files with variable length module headers that I would like to ignore during the comparison process. I can see that I can ignore line ranges and lines matching a regular expression, but is it possible for ExamDiff Pro to ignore a variable length header file, while still being able to compare the comments in the rest of the file?

Code: Select all

/****************************** Module Header ******************************\
Module Name:  File.cs

Copyright (c) 2012-2016 Company, Inc.
All Rights Reserved

This file contains the File class.

Revision Records:
2015-10-24	Revision 2
  Author: aperson
  Change: Comment explaining changes

2015-04-04	Revision 1
  Author: aperson
  Change: Initial check-in.
\***************************************************************************/
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignoring File Headers?

Post by psguru »

It depend on your definition of a header. I suspect you can define a regex to match a header. Note that you combine multiple regexes and use "Ignore lines..." option along with ignoring comments.
psguru
PrestoSoft
Post Reply