re2: adjust local variable assignment scope...
re2: adjust local variable assignment scope
Pytype flagged the exception handler where these are used as `[name-error]`, and
PyCharm complained they may be used before assignment.
Differential Revision:
https://phab.mercurial-scm.org/D10376