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