On 7/6/07, Jordan Harper <jordan.harper@cimex.com> wrote:I'm having a bit of trouble trying to work out if it's possible to havecompound regular expressions in a snippet.In general, no. But in your particular example, there is a trick that works:${1/([^ ])|( )/\L$1(?2:-)/g}Robin______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)