title: How to use inline modifiers in C# regex?
body: <p>How do I use the inline modifiers instead of <code>RegexOptions.Option</code>?</p>
  
  <p>For example: </p>
  
  <pre><code>Regex MyRegex = new Regex(@"[a-z]+", RegexOptions.IgnoreCase);
  </code></pre>
  
  <p>How do I rewrite this using the inline character <code>i</code>?</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/yd1hzczs.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/yd1hzczs.aspx</a></p>