vars must be declared at the start of a block
Merge pull request #853 from cremno/pluggable-regex-msvc-fix

MSVC: vars must be declared at the start of a block