Changing regex to support empty headerValue