Announcement

Collapse
No announcement yet.

Multi-line RE match

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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...
      X