in reply to simple regex

The reason your RE is failing is because of the /x which makes the RE engine ignore all unescaped whitespace in your RE, like the space between name=\"VERIFIER\" and value=. Check out perlre for more info.