On Aug 8, 2008, at 7:53 PM, Nate Cavanaugh wrote:
I'm trying to add an invalid scope to a certain group of lines. Basically, the regex pattern I would like to match is this:
^(\n){2,}
No match can be more than one line, no way to get around that.
A solution to your issue though…
Match one empty line with a begin, then include a rule in there to match empty lines and mark them invalid. Then end on any non-empty line, should work fine.