[TxMt] Re: Saving Regexes

Allan Odgaard mailinglist at textmate.org
Tue Jan 6 03:18:33 UTC 2009


On 2 Jan 2009, at 15:24, Richard Dyce wrote:

> The essay question I have is this:
>
>   "It would be great to save regexes from the find & replace dialog.
> Discuss."

Indirectly you can do this by recording a macro, then run your Replace  
All [in Selection] and you have a macro performing just that  
replacement (you can save it and either give it a key equivalent or a  
meaningful name so you can easily recall it via ⌃⌘T).

> [...]
> As an aside - 10 regexes aren't really enough in the dialog either ;-)
> is there a way of upping them?

Currently not, no. There will be find clipboard history mimicking  
current clipboard history in next major update (should be out in 2009  
but that’s the closest I’ll get to an ETA :) ), so it’s an area  
that will be improved.




More information about the textmate mailing list