Ignore line comparison by string

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
joomla_16_guy
New Member
Posts: 4
Joined: Fri Feb 25, 2011 1:02 pm

Ignore line comparison by string

Post 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
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignore line comparison by string

Post by psguru »

You can use the following regex:

\* @version
psguru
PrestoSoft
joomla_16_guy
New Member
Posts: 4
Joined: Fri Feb 25, 2011 1:02 pm

Re: Ignore line comparison by string

Post by joomla_16_guy »

psguru wrote:You can use the following regex:

\* @version
Thanks - works like a charm!
Post Reply