Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2018
    Posts
    1

    Default Unimportant differences that change depending on type of line

    Hi

    I have files with multiple line formats in them, and I'm wondering if I can somehow match the line type (perhaps with a regex) and then use a certain set of grammar elements / unimportant differences specific to that type of line.

    So, as a made up example

    Line starts with ABC means that columns 7 - 15 and 90 - 97 are unimportant
    Line starts with DEF means that columns 20 - 30 are unimportant
    Line does not start with either ABC or DEF but has HIJ in column 70 - 72 - that means that column 15 - 20 are unimportant
    Any other line that does not fit in one of the categories means just do a normal text compare with everything is important
    etc.

    Thanks for any tips

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,790

    Default

    Sorry, it isn't possible to do this in Beyond Compare. Hierarchical, conditional, or two-level grammar element definitions are on the feature request list for a future version.
    Chris K Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •