I’m making a file format for my own use and I wanted to have proper highlighting.
I want to be able to match next line in regex, but that doesn’t seem to be working in Sublime Text 3. I read in some forum post that everything is matched line by line to improve performance. Is it possible to tell sublime that I want to match with next line also?
%YAML 1.2
---
name: View Object Notation
file_extensions: [von]
scope: scope
contexts:
main:
- match: 'TEST\sBACK'
scope: entity.name.tag
Other regex tools show me a match, but in Sublime it doesn’t work if I put new line character between TEST and BACK
TEST
BACK