title: Ruby regular expression match precedence
body: <p>How can I modify the following regular expression to stop the first match section from grabbing the second? I'm using Ruby 1.9.2 if that makes a difference.</p>
  
  <pre><code>/\Aasync_([a-zA-Z]\w*)(_at|_in)?\z/
  </code></pre>