[TxMt] Using \z in Language Grammer

Oliver Taylor oliver at ollieman.net
Mon Oct 30 18:28:01 UTC 2006


Is it possible to use "\z" in the Language Grammer? I'm thinking like  
this:

	name = 'meta.test';
	match = '^(\t)(.+)(\n|\z)';
	captures = {
		1 = { name = 'whitespace'; };
		2 = { name = 'paragraph'; };
		3 = { name = 'end-of-line'; }; }

I know I can't currently do this, is it because I don't understand  
"\z" or because TextMate doesn't support it? If TM doesn't support  
it, why? (I think this would be really useful)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061030/927ef627/attachment.p7s>


More information about the textmate mailing list