Identifying Unimportant Differences on Specific Lines

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Gilbert
    Visitor
    • Sep 2015
    • 3

    Identifying Unimportant Differences on Specific Lines

    I have a need to set up rules to identify unimportant differences on specific lines in files where the lines can be identified by information in each line. For example...

    File One
    458 100000120.00+ABC123X
    458 200JOHN SMITH 123 Main St
    459 100000456.00+ABC123X
    459 200JOHN BROWB 456 Main St

    File Two
    458 100000120.00+ABC123
    458 200JOHN SMITH 123 Main St
    459 100000456.00+ABC123
    459 200JOHN BROWB 456 Main St

    I want to set a rule to ignore the difference in column 24 (the green X) but only on lines where columns 5-7 = "100"

    Any help would be much appreciated..
  • Aaron
    Team Scooter
    • Oct 2007
    • 16026

    #2
    Hello,

    Our grammar definitions do not support conditional definitions (if this, then this). In order to define the grammar, the element would need to contain the definition of what is Unimportant. If the element includes the "100" section, it would also be Unimportant.

    Is there another logic that could be used to match on X? Our different element types can be found here:
    http://www.scootersoftware.com/suppo..._unimportantv3
    Aaron P Scooter Software

    Comment

    • Keith Gilbert
      Visitor
      • Sep 2015
      • 3

      #3
      OK how about this. Is there a way to tell the program to completely ignore lines based on a value found in certain columns? Then I could set up profiles just to look at the "100" lines.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16026

        #4
        Unfortunately there is not a way to only look for specific lines for specific changes. You could define a grammar that matches on 100 in that position and extends to include more text, but then the entire definition (text section) would be Unimportant. Our grammar does not support defining something that then isn't part of the definition.
        Aaron P Scooter Software

        Comment

        • Keith Gilbert
          Visitor
          • Sep 2015
          • 3

          #5
          OK thanks for the response. You can close this thread.

          Comment

          Working...