title: C# Regex Match gives wrong result
body: <pre><code> var hostName = "tenant1.example.be";
  
   var match = Regex.Match(hostName, @"([A-Za-z0-9]+)\.example\.be$", RegexOptions.IgnoreCase);
   var subdomain = match.Success ? match.Value : null;
  </code></pre>
  
  <p>Result for subdomain is always: <code>tenant1.example.be</code> instead of just <code>tenant1</code>.</p>
  
  <p>Anyone?</p>