[TxMt] Re: regex in a snippet

Oliver Taylor olivertaylor at me.com
Sun Mar 15 18:14:07 UTC 2009


On Sat, Mar 14, 2009 at 1:55 PM, Saul Rosenbaum <saul at visualchutzpah.com> wrote:

> what I'm trying to accomplish is (replacing the spaces with underscores and
> making it all lowercase)
> <li id="this_is_a_mixed_case_string_with_spaces"><a href="#">This is a Mixed
> case String with SPACES</a></li>

Take a look in the TextMate documentation § 7.7 "Transformations".
You'll find what you're looking for there.



More information about the textmate mailing list