Page 1 of 1

Ignore column range for specific record type

Posted: Thu Mar 06, 2008 7:32 am
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.

Re: Ignore column range for specific record type

Posted: Thu Mar 06, 2008 7:47 am
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})

Re: Ignore column range for specific record type

Posted: Thu Mar 06, 2008 11:02 am
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.

Re: Ignore column range for specific record type

Posted: Thu Mar 06, 2008 4:01 pm
by psguru
This appears to be a bug. We'll try to fix it in the next build of 4.0 Beta.

Re: Ignore column range for specific record type

Posted: Thu Mar 06, 2008 7:41 pm
by psguru
The bug has been fixed in 4.0.1.2.

Re: Ignore column range for specific record type

Posted: Tue Mar 11, 2008 6:47 am
by Craig831
psguru wrote:The bug has been fixed in 4.0.1.2.

Thank you.