Ignore column range for specific record type

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
Craig831
New Member
Posts: 4
Joined: Wed Jan 09, 2008 11:46 am
Location: Milwaukee, WI

Ignore column range for specific record type

Post by Craig831 »

Hi,

First off, I love ED Pro. It's a great product. :)

I'm struggling a little bit, though, with ignoring a particular column range for a specific record type. I'm relatively new to regular expressions which makes it a little more complicated. Would you have an example of how to, for example, ignore columns 25-28 for a record type of AAAA?

Thanks for any help you can get me.
Craig831
New Member
Posts: 4
Joined: Wed Jan 09, 2008 11:46 am
Location: Milwaukee, WI

Re: Ignore column range for specific record type

Post by Craig831 »

Guess I posted too soon. I figured it out right after I submitted. For anybody who is trying to do the same thing, here's the regular expression that worked. I put this in the "Ignore parts of lines that match regular expression" option.


^AAAA.{24}(.{4})
Craig831
New Member
Posts: 4
Joined: Wed Jan 09, 2008 11:46 am
Location: Milwaukee, WI

Re: Ignore column range for specific record type

Post by Craig831 »

OK, to build on this, I have another question. (surprise, surprise...) :)

To give a little background, a co-worker and I built a regression system that will allow us to compare output from our production application to output from our changeset code. We compare the text files using ExamDiff Pro, then I parse the multiple output files from EDPro to a single .xml file that breaks down all the changes, additions, and deletions that occurred. We then report using that XML.

So, since we use a specific record definition to output each element to the XML, I need to ensure EDPro is outputting the entire record in the differences file. When I ignore a column or range of columns in a compare, though, the record is being written out without the ignored column(s) and is shifting my output to the left. This messes up my record definition and thus messes up my report.

Is there a setting I can use in which I tell EDPro to ignore the column(s) during the compare but to output the entire record?

Thanks for any help.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignore column range for specific record type

Post by psguru »

This appears to be a bug. We'll try to fix it in the next build of 4.0 Beta.
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Ignore column range for specific record type

Post by psguru »

The bug has been fixed in 4.0.1.2.
psguru
PrestoSoft
Craig831
New Member
Posts: 4
Joined: Wed Jan 09, 2008 11:46 am
Location: Milwaukee, WI

Re: Ignore column range for specific record type

Post by Craig831 »

psguru wrote:The bug has been fixed in 4.0.1.2.

Thank you.
Post Reply