title: RegularExpressionAttribute - How to make it not case sensitive for client side validation?
body: <p>I have a string that I use for client side validation:</p>
  
  <pre><code>private const String regex = @"^(?:\b(?:\d{5}(?:\s*-\s*\d{5})?|([A-Z]{2})\d{3}(?:\s*-\s*\1\d{3})?)(?:,\s*)?)+$";
  </code></pre>
  
  <p>I use this string in my <code>[RegularExpression(regex, ErrorMessage = "invalid")]</code> attribute.  </p>
  
  <p>I know that the <code>/i</code> flag for a Javascript regex is used to make it case insensitive, but just tacking it on to the end of my regex (i.e. <code>@"^....$/i"</code> isn't working - the regex validation fails completely, regardless of what is entered (valid or not).</p>
  
  <p>What am I missing?  </p>