Ignore words in each file

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
sparrow
Posts: 2
Joined: Tue Dec 08, 2009 8:33 am

Ignore words in each file

Post by sparrow » Tue Dec 08, 2009 8:35 am

Hi

I'm comparing two files, one with Zero in and one with 0x00 in. In the code these are equivalent values, and I can't work out how to ignore them.

Any help appreciated.

Thanks

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Ignore words in each file

Post by jeffhostetler » Tue Dec 08, 2009 9:28 am

Sorry, there's no way to get those 2 strings to be treated as equivalent in DiffMerge.
DiffMerge is looking at the files as text files; it doesn't understand the semantics of
any programming language constructs. All of the literals vs comments stuff is done
with REGEX rather than a real syntax parser. So there's no way for it to know what
those strings mean within the source.

Sorry
jeff

sparrow
Posts: 2
Joined: Tue Dec 08, 2009 8:33 am

Re: Ignore words in each file

Post by sparrow » Tue Dec 08, 2009 9:33 am

Thanks for letting me know.

Post Reply