[TxMt] Re: Matching multiple lines in a grammar pattern
mummer at whitefalls.org
Sat Aug 9 03:44:30 UTC 2008
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.
> the regex pattern I would like to match is this:
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.
More information about the textmate