Tapatalk

Ignoring lines that starts with - more than one ignore word

Ignoring lines that starts with - more than one ignore word

1
NewbieNewbie
1

    May 25, 2010#1

    It is possible to specify if a line starts with some word, then it should be ignored in the compare. Is there a way to specify if there are two types of lines that should be ignored, those starting with "AAA" and those starting with "BBB"?

    In the folder ignore options, you can specify several file filters, separated with a ";", but that seems not to work for the text ignore options, i.e, in the begin with filter writing "AAA;BBB". Same goes with the contain and ends with.

    UltraCompare version 7.10.0.1012

    6,685587
    Grand MasterGrand Master
    6,685587

      May 25, 2010#2

      No, it is not possible as far as I know to specify more than one string (not word!) to ignore lines beginning with, contain or end with the specified string.

      When it is not possible for your compare to use AAA for text ignore option begin with and BBB for option contain you might modify both files first with UltraEdit or UEStudio by running an UltraEdit regular expression replace all on both files searching for %BBB and replacing all occurrences with AAA#BBB. Now in both files all lines to ignore start with AAA and your compare should be possible. Finally you can undo this change in both files by searching for AAA#BBB and replace it with just BBB.

      BTW: Currently latest version of UC Prof. is already v7.10.0.1020.
      Best regards from an UC/UE/UES for Windows user from Austria

      236
      MasterMaster
      236

        May 26, 2010#3

        I suggest that you write a feature request to IDM asking for regular expression support in the ignore strings. I have done that before, but the more users ask for it, the higher the chance of it being implemented earlier. Other compare tools like Beyond Compare have this functionality already, after all.

        (And it would be possible to reduce the three text boxes (starts with/contains/ends with) to one)

        901
        MasterMaster
        901

          May 26, 2010#4

          I agree with pietzcker... email IDM and ask for an enhancement!
          In the meantime, Mofi mentioned a possible work-around if you only have two "begin with" strings you want to ignore... You can put one value in the "begin with" field and the other in the "contain" field. The "contain" field will ignore the string anywhere in the line including the beginning of the line.