title: NSRegularExpression, specify case-sensitive match?
body: <p>Is there a way using <code>NSRegularExpression</code> to specify that you want to do a case-sensitive search? I am trying to match the upper-case TAG "ACL" in the text below. The pattern I am using is simply:</p>
  
  <pre><code>// Pattern
  [A-Z]+
  
  // SearchText
  &lt;td align=\"left\" nowrap&gt;&lt;font face=\"courier, monospace\" size=\"-1\"&gt;ACL*&lt;/font&gt;&lt;/td&gt;
  
  // Code:
  NSString *textBuffer = @"&lt;td align=\"left\" nowrap&gt;&lt;font face=\"courier, monospace\" size=\"-1\"&gt;ACL*&lt;/font&gt;&lt;/td&gt;";
  NSString *pattern = @"([A-Z]+)";
  NSRegularExpression *regExp = [NSRegularExpression regularExpressionWithPattern:pattern options:NSRegularExpressionCaseInsensitive error:nil];
  NSTextCheckingResult *result = [regExp firstMatchInString:textBuffer options:0 range:NSMakeRange(0, [textBuffer length])];
  NSLog(@"OBJECT CLASS: %@", [textBuffer substringWithRange:[result range]]);
  </code></pre>
  
  <p><strong>Output:</strong> (with case-Insensative I am getting the first "td" as expected, when what I really want is "ACL"</p>
  
  <p>I know that <code>NSRegularExpressionCaseInsensitive</code> is wrong, I was hoping there would be a <code>NSRegularExpressionCaseSensitive</code>. Also there is a flagOption <code>?(i)</code> that also specifies a case-insensitive search but again nothing for case-sensative. What am I missing?</p>