On 7/6/07, Jordan Harper <jordan.harper at cimex.com> wrote:
> I'm having a bit of trouble trying to work out if it's possible to have
> compound 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