[TxMt] Stripping certain characters in snippets

Daniel Käsmayr daniel at kaesmayr.net
Sun Jun 18 19:47:23 UTC 2006


The LaTeX snippets for sections, when they contain a label, look like  
this:

\section{${1:section name}}\label{sec:${2:${1/(\w+)|\W+/(?1:\L$0:)/g}}}

Somehow (I don't get the syntax for this yet) the $2 part strips non- 
word characters from $1. Is it also possible to do transformations  
like replacing umlauts äöü with aou?

Thanks,

Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3996 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060618/839cab3c/attachment.p7s>


More information about the textmate mailing list