VC auto test - Regexp horror repair