[TxMt] assigning a scope to an empty line

Domenico Carbotta domenico.carbotta at fastwebnet.it
Sun Dec 18 19:16:25 UTC 2005


Il giorno 18/dic/05, alle ore 02:37, Sune Foldager ha scritto:

> Just to make sure we all agree, as far as regex (only) goes,  
> matching an empty line is just ^$

yep, we agree :)
on a related note I recall (while tweaking Python grammar) that one  
has to match the "\n" in order for the scope to extend to the right  
-- that is evident in case one wants to assign a background color to  
the scope.



More information about the textmate mailing list