title: Ruby global match regexp?
body: <p>In other languages, in RegExp you can use <code>/.../g</code> for a global match.</p>
  
  <p>However, in Ruby:</p>
  
  <pre><code>"hello hello".match /(hello)/
  </code></pre>
  
  <p>Only captures one hello.</p>
  
  <p>How do I capture all <code>hello</code>s?</p>