[TxMt] mirroring transformed tab-stops
Allan Odgaard
throw-away-1 at macromates.com
Thu Aug 3 12:42:36 UTC 2006
On 2/8/2006, at 21:39, Oliver Taylor wrote:
> [...] <h3 id="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}">${1:Some Title}</
> h3>
>
> But now I want to mirror the transformed ID value in a permalink
> later in the snippet like this:
>
> [...] Is there a way to mirror transformed tab-stops?
No, but you can repeat the transformation:
<h3 id="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}">${1:Some Title}</h3>
…
<a href="http://somesite/links/#${1/[[:alpha:]]+|( )/(?1:_:\L$0)/
g}>permalink</a>
More information about the textmate
mailing list