No announcement yet.

How to define custom line breaks

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to define custom line breaks

    I want to compare files that have non-standard line breaks between records. Is there a way I can define the line breaks to use when comparing files? I've tried using regular expressions in Rules, but without success. Either I'm entering them wrong, or that is not the purpose of rules.

    The lines in the file all begin with the string {[ and end with "]}. The double quote mark is included at the end of each record.

    Thanks in advance for your help.

  • #2
    Re: How to define custom line breaks

    There might not be a way to handle this.

    Beyond Compare's File Viewer will always break lines when it encounters a line terminator. If you have a line terminator in the middle of a record, BC will break the line.

    There also isn't a way to make BC compare across lines.

    This means:

    "foo bar"



    can't be marked as equivalent.
    Chris K Scooter Software