Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (5 sloc) 273 Bytes
# This was cloned from a TextMate bundle for yasnippet.
#group : Loops
# key: dow
# --
downto(${1:0}) { ${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${2:n}${2/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }