[TxMt] Re: Regular expression to replace code

Allan Odgaard mailinglist at textmate.org
Fri Nov 22 02:19:04 UTC 2013

On 21 Nov 2013, at 17:43, Ross Ahmed wrote:

> […] What regular expression can I use to strip the outer function? 
> So the replacement code would be mean(mtcars$mpg)

I think this questions is underspecified. What exactly are your 
requirements for how the functions look? What is your goal here (e.g. to 
run a global search and replace on a specific function call wrapped by 
an arbitrary other function call and strip the other)?

More information about the textmate mailing list