Session Settings - UnimportantText ... multiline regex?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CADbloke
    New User
    • Oct 2018
    • 2

    Session Settings - UnimportantText ... multiline regex?

    Greetings

    Is it possible to use a multiline regex for unimportant text? For instance, in RegexBuddy's .NET setting, this matches multiple lines from "startString" to the ; that terminates the statement many lines later ...

    Code:
    startString.*(?:\r?\n.*)*?;
    But it only matches the first line in BC4. Mode modifiers like "(?s)" don't seem to make a difference.

    cheers
    Ewen
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Sorry, Beyond Compare doesn't support multiline regex.

    The only way to match on multiple lines in Beyond Compare is using a delimited grammar element in a file format. Unimportant text in the Importance tab of Text Compare session settings only supports plain text and single line regular expressions.
    Chris K Scooter Software

    Comment

    • CADbloke
      New User
      • Oct 2018
      • 2

      #3
      Okey dokey. Thanks
      cheers

      Comment

      Working...