+1

Better support for textmate snippets regexp

Dmitriy Kubyshkin fa 13 anys 0

Complex regexp that inserts symbols on the same line as input, but before the cursor doesn't work.

Here's an example that works perfectly in TextMate but doesn't in Sublime Text 2


color ${1/(^\h{1,6}$)|.+/(?1:#)/}${1/(^\(.*$)|.+/(?1:rgb)/}${1/(^\(.*,.*,.*,.*$)|.+/(?1:a)/}${1:f}${1/(^\([^)]*$)|.+/(?1:\))/}${1/(^\h{1,2}$)|.+/(?1:$1$1)/}