Page 1 of 1

Ignoring File Headers?

Posted: Tue Feb 23, 2016 7:38 am
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.
\***************************************************************************/

Re: Ignoring File Headers?

Posted: Tue Feb 23, 2016 12:50 pm
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.