Page 1 of 1

Ignore line comparison by string

Posted: Fri Feb 25, 2011 1:09 pm
by joomla_16_guy
Wonderful software, well worth the money.
I'm not that good with Regex and I need to be able to exclude files from the "different" list based on a string in each file that is slightly different but is the only difference in the two files.
Example, two files and the only difference between the two is:
File 1

Code: Select all

* @version 1.5.2 October 13, 2010
and File 2

Code: Select all

* @version 1.5.4 December 08, 2010
Can I supply a filter argument to ExamDiff to ignore any lines that contain "* @version"

Thanks

Re: Ignore line comparison by string

Posted: Sat Feb 26, 2011 12:40 pm
by psguru
You can use the following regex:

\* @version

Re: Ignore line comparison by string

Posted: Sun Feb 27, 2011 5:32 pm
by joomla_16_guy
psguru wrote:You can use the following regex:

\* @version
Thanks - works like a charm!