How to start compare after a certain character

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
Kfran
Posts: 2
Joined: Tue Feb 12, 2013 3:16 pm

How to start compare after a certain character

Post by Kfran » Thu Apr 18, 2013 10:05 am

I have an example where I would like the compare to start after a certain character in a line. I've attached an example below. In a nutshell: If the line starts with a number, I don't want the compare to start the compare until after the 2nd comma (and then look at everything to the EOL). I assume the Content Handling rules would do this? If so I am clueless for the correct regular expression to use to do this.
DiffMerge.png
DiffMerge.png (54.56 KiB) Viewed 8207 times
In above example the data after the 2nd comma is identical but because one line starts with 1,49 and the other starts with 1,42 it shows them as massively different.

Any help would be greatly appreciated!

Thank you!

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

Re: How to start compare after a certain character

Post by jeffhostetler » Thu Apr 18, 2013 12:59 pm

Sorry, but DiffMerge doesn't currently have a way to ignore things like that.
We've had several requests for a way to ignore things like line numbers
either by field or by column range, so you're not alone in asking for it.

I'll log another vote for it.

thanks
jeff

Post Reply