Multi-line RE match

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pho
    New User
    • Oct 2010
    • 2

    Multi-line RE match

    I would like to have full control over multi-line RE match. For example:

    [A-Z][^\n]*\n\d{4} \w+\n

    for comparison ignore. Is that possible?

    - Peter
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Regular expressions in Beyond Compare are limited to a single line. However, you can define your grammar element with category "Delimited", then define the starting and ending delimiters using regular expressions to handle multiple lines.
    Chris K Scooter Software

    Comment

    • SarahFlexBox
      New User
      • Mar 2019
      • 2

      #3
      THANK YOU. I've tried so many times to get this working with regexes, and finally I can ignore multi-line comments using your approach.

      Comment

      Working...