[TxMt] Re: Re placing a space with an underscore in Snippet

Allan Odgaard mailinglist at textmate.org
Sun Feb 22 11:25:23 UTC 2009


On 20 Feb 2009, at 14:07, Ian Alexander Wood wrote:

> [...]
> 	<fieldset id="${6:${3/[[:alpha:]]+|( )/(?3:_:\L$0)/g}}" ${4:class="$ 
> {5:}"}>

Here I think you want: ${3/[[:alpha:]]+|( )/(?1:_:\L$0)/g}

The capture registers are local for the replacement, not related to  
the placeholder enumeration.




More information about the textmate mailing list