fixed #449964: sre.sub raises an exception if the template contains a
\g<x> group reference followed by a character escape (also restructured a few things on the way to fixing #449000)
F
Fredrik Lundh committed
59b68656f846973840953220c4780f3558b59fb8
Parent: ab3b034