- 
Andrew M. Kuchling yazdımethod, so .groups() didn't work inside the replacement function called by re.sub. One-line fix: set self._num_regs inside subn(). 9a80e00c
method, so .groups() didn't work inside the replacement function called by re.sub. One-line fix: set self._num_regs inside subn().
