title: Sublime Text 2 - Regex Search - Non-Capture Group Syntax
body: <p>I'm trying to use ST2's regex capability in search &amp; replace, but can't figure out how to probably make a non-capturing group. For this example, I want to find instances of "DEAN" which are <em>not</em> followed by "UMBER", i.e. to distinguish "DEANCARE" from "DEANUMBER"</p>
  
  <p>From what I've read and used in the past, the syntax with a non-capture should be: </p>
  
  <pre><code>DEAN(?:UMBER)
  </code></pre>
  
  <p>Which should match "DEANCARE" but <strong>not</strong> "DEANUMBER". Yet instead, Sublime Text <em>only</em> finds "DEANUMBER" as if I had typed:</p>
  
  <pre><code>DEAN(UMBER)
  </code></pre>
  
  <p>Using square brackets on the first (or each) of the unwanted letters <em>does</em> work:</p>
  
  <pre><code>DEAN[^U] 
  </code></pre>
  
  <p>But I'd still prefer to use the group non-match as opposed for other purposes and to avoid having to explicitly not-match each individual character. Do I have a syntax mistake, or maybe a conceptual error in how ST2's regex works? </p>