Fixed issue with match against response containing newlines.