One getHeader() too many.
Fix regexp escaping.
No idea why, but I had this case logged in the console.