[TxMt] Regex to indent new lines between tags

Allan Odgaard throw-away-1 at macromates.com
Sun Jun 10 16:15:11 UTC 2007


On 10. Jun 2007, at 18:04, Mike Stickel wrote:

> [...]
> That's what I have been doing but I was wondering if there was a  
> way to do it with the search and replace dialog using regular  
> expressions to replace all the \n with \n\t to get that indent

So you want to re-indent your HTML solely by running a single regexp  
replace?

This is not possible -- why is that restraint necessary?




More information about the textmate mailing list