right('0'.submatch(1), 2)to zero-pad to 2 places. Alas, the substitute() trick is the easiest way I've found to simulate this.[...]("0" . submatch(1))[-2:]
Hmmm...a nifty new feature in vim7 that is here on my work machine, but unavailable on my hosting service (still running 6.3). Looks like a much-needed pilfering from Python's handy slicing syntax. :)
I'll keep it filed away for future use. -tim