title: Problems with code
body: <pre><code>try
  {
  
      HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("http://www.site.ru/group/" + gr);
      request.AllowAutoRedirect = false;
      request.Method = "GET";
      request.CookieContainer = cookies;
      request.UserAgent = "Opera/9.80 (Windows 7; U; en) Presto/2.9.168 Version/11.50";
      request.ContentType = "application/x-www-form-urlencoded";
      HttpWebResponse response_headers = (HttpWebResponse)request.GetResponse();
      System.IO.Stream stream = response_headers.GetResponseStream();
      System.IO.StreamReader sr = new System.IO.StreamReader(stream);
      string response = sr.ReadToEnd();
      sr.Close();
      /*if (response_headers.Headers["Location"].Contains("alted"))
      {
          log("[-] GROUP is " + gr + " closed\r\n");
          return -2;
      }*/
      string gash = Regex.Match(response, @"gwtHash:""(?&lt;id&gt;[^""]+)""").Groups["id"].Value;
      string grpId = Regex.Match(response, @"state:""st.cmd=altGroupMain&amp;amp;st.groupId=(?&lt;id&gt;[^""]+)""").Groups["id"].Value;
  }
  catch { log("[?] Can't parse ash and grpId\r\n"); return -1; }
  </code></pre>
  
  <p>This code works successfully when constraction if {} is commented. But when I delete comment and run it I receive <code>[?] Can't parse ash and grpId</code>
  Why?=\</p>