title: ruby regex and grouping
body: <p>I've got following text <code>'some-text-here'</code> and try to get the <code>'text'</code> word from it using groups.</p>
  
  <p>If I use that expression <code>/some-(\w+)-here/</code> all works fine, but if I try to apply grouping to it <code>/some-(?&lt;group_name&gt;\w+)-here/</code> it's raise an error <code>Undefined (?...) sequence.</code></p>
  
  <p>What's I doing wrong?</p>
  
  <p>(Ruby 1.9.2)</p>
  
  <p>Upd: shame on me. It's all from my innatention. Yes, I've use RVM and my ruby version turned on 1.9.2. But I've tested that expression at <a href="http://rubular.com/">http://rubular.com/</a> where it is written at the footer <code>Rubular runs on Ruby 1.8.7</code>. Ruby 1.8.7 and Ruby 1.9.2 have a different regular expression engine.
  So my expression <strong>works</strong> on 1.9.2, but <strong>does not</strong> on 1.8.7</p>