respect equals signs in values

I came across an issue trying to use an API key with equals signs in it. This regex approach respects them. Tests included.