[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to highlight-regexp across multiple lines

From: Angus Comber
Subject: How to highlight-regexp across multiple lines
Date: Thu, 3 Apr 2014 15:43:19 +0100

I was looking at this question on stackoverflow and it seems regex can
select across multiple lines generally but how would I do so for
highlight-regexp in emacs?

Eg I want to highlight ALL text from aPDU... to the final closing brace:

aPDU-rose : retResult : {
  invokeID 2,
  operValue {
    operationValue local : 71,
    result {
      crossRefIdentifier '40 3f'H

How would I do that using highlight-regexp?

highlight-regexp aPDU-rose.* hi-yellow  would get me the first line - but
how to get everything including last } character?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]