ignacysokolowski/SublimeVintageNumbers — pull request #3 by thebearbear (2012-11-14 09:02:20+00:00)
Title: Added ability to increment/decrement oct and hex numbers

Added two extra checks to the increment/decrement functionality.

Regex is looking for traditional 0[0-7] for oct
and 0x[a-f0-9] for hex.

To handle this the int call now uses the base parameter determined by
where the match was located. Also a new converter method was wrapped
around the int method so that hex, oct, and int conversion happen before
the str conversion. This means that all values will retain their
original form when being written back to the view. It is more true to
form with vim's ctrl a/x methodology of being able to determine number
bases this way.

all original functionality of decimal increments are maintained.