[TxMt] Re: Let me escape

Piero D'Ancona pierodancona at gmail.com
Fri Oct 17 19:05:53 UTC 2008


Hans-Jörg Bibiko <bibiko at ...> writes:

> Yes. TextMate can do this ;)
> use
> require ENV["TM_SUPPORT_PATH"] + "/lib/escape.rb"
> method e_sn
> str.to_s.gsub(/(?=[$`\\}])/, '\\')

Indeed.
Thank you!
Ciao
Piero








More information about the textmate mailing list