#5914
Yutaka Emura
Keymaster

owilsky wrote:
Hi,

I want to highlight an expression between and . Works fine of BEGIN and END tag is on the same line, but not if they are on diffferent lines. I tried the regex modifier (?s) which should include CR/LF into the dot operator, but had no success.

My regex:
(?s).+?

Any ideas how I can highlight it if BEGIN and END are not on the same line?

Thanks,
Oliver

This is the specification — regular expressions can highlight only in a single line.