[TxMt] Snippet and regex

Alain Matthes alain.matthes at mac.com
Wed Oct 24 10:33:54 UTC 2007


hello:)

I would like in this snippet

${TM_SELECTED_TEXT/(\s*).*/$1/m}\begin{${1:environment}}
${TM_SELECTED_TEXT/(.+)|\n\z/(?1:\t$0)/g}
${TM_SELECTED_TEXT/(\s*).*/$1/m}\end{${1:environment}}

remove the \t and instead use white space,
How to do that?

Regards Alain



More information about the textmate mailing list