[TxMt] Re: Language gramar and end match

Pedro Melo melo at simplicidade.org
Fri Nov 5 20:02:57 UTC 2010


Hi,

On Fri, Nov 5, 2010 at 7:41 PM, Josh Varner <josh.varner at gmail.com> wrote:
> If I understand you correctly, the end of the embedded section is simply the
> next '@@' start marker.

Yep.


> So, change your end match to use a look-ahead:
>     end = '^(?=@@)';

Ah, perfect! :)

I didn't knew that TextMate already supported that, coolness

Many thanks Josh,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org


More information about the textmate mailing list