1 snippet today "Today" w
5 snippet '([0-9]+)(,[0-9]+)?..([0-9]+)' "enumerate nums" rw
7 # doesn't quite work with counting down yet
8 start = int(match.group(1))
9 end = int(match.group(3))
10 rng = range(start, end+1) if match.group(2) == None else range(start, end+1, int(match.group(2)[1:])-start)
12 snip.rv += str(i)+"\n"
16 snippet '([a-z])\)..([a-z])\)' "enumerate list" rw
18 start = ord(match.group(1))
19 end = ord(match.group(2))
20 for i in range(start, end+1):
21 snip.rv += chr(i)+")\n"