Eating whitespaces before the equal signs proved to be quite an adventure...

The whole story here: http://stackoverflow.com/questions/15296712/a-regular-expression-mystery