I have two files that, for the most part, only differ in the timestamp on each line. I want to eliminate the time as differences, so I can see the "real" differences.
I tried this by editing Session/Session Settings/Replacements. I created one regex replacement that replaced
with a space, with the Left button checked.
I then duplicated that replacement, this time with the Right button checked. The net result is I have two identical replacements, one for the Left, one for the Right, both of which are replacing times with spaces. (I did a Find using the above regex to make sure that it was matching the times, which it is.)
I thought that would replace the time on both sides with a space, which would then not be a difference.
I'm not sure what it's doing, but it's not that. Each line with a time stamp (most of them) is still showing as a difference, and the time itself is in different colors, so it appears that the replacements aren't working.
So, if this can be done, how does one do it?
And if it can't be done, please consider it an enhancement request.
Thanks!
After some further investigation:
I still didn't get the above to work, but I did get a generic text replacement to work (I was just confirming I understand how this was supposed to work), but the difference still showed up. After some further stumbling around, I found that "Ignore Unimportant differences" would hide the replacement differences. The Help needs to state this explicitly on the Replacements page, and, preferably, the Importance page.
After I stumbled upon the View item, I noticed that the wording of the Replacements page says "… that should be considered unimportant," but even if I had seen it, I wouldn't have associated that with the Importance tab. Help is for people who aren't familiar with the intricacies of a program, not for those who are. It should explicitly say something like, "Once replacement(s) are created, use View/Ignore Unimportant Differences to hide replacement differences."
In addition, I would think "Replacements" should be a checkbox item on the Importance tab, so we can select them separately from the rest of the "important" items.
I tried this by editing Session/Session Settings/Replacements. I created one regex replacement that replaced
Code:
[COLOR=#000000][FONT=Lucida Grande][0-9][0-9]:[0-9][0-9]:[0-9][0-9] *[AP]M[/FONT][/COLOR]
I then duplicated that replacement, this time with the Right button checked. The net result is I have two identical replacements, one for the Left, one for the Right, both of which are replacing times with spaces. (I did a Find using the above regex to make sure that it was matching the times, which it is.)
I thought that would replace the time on both sides with a space, which would then not be a difference.
I'm not sure what it's doing, but it's not that. Each line with a time stamp (most of them) is still showing as a difference, and the time itself is in different colors, so it appears that the replacements aren't working.
So, if this can be done, how does one do it?
And if it can't be done, please consider it an enhancement request.
Thanks!
After some further investigation:
I still didn't get the above to work, but I did get a generic text replacement to work (I was just confirming I understand how this was supposed to work), but the difference still showed up. After some further stumbling around, I found that "Ignore Unimportant differences" would hide the replacement differences. The Help needs to state this explicitly on the Replacements page, and, preferably, the Importance page.
After I stumbled upon the View item, I noticed that the wording of the Replacements page says "… that should be considered unimportant," but even if I had seen it, I wouldn't have associated that with the Importance tab. Help is for people who aren't familiar with the intricacies of a program, not for those who are. It should explicitly say something like, "Once replacement(s) are created, use View/Ignore Unimportant Differences to hide replacement differences."
In addition, I would think "Replacements" should be a checkbox item on the Importance tab, so we can select them separately from the rest of the "important" items.
Comment