<p><a href="https://github.com/miha-" class="user-mention">@miha-</a> , maybe the docs are not 100% clear, but this function is to be used for regexp-based groups, againsr the re_grp table (and not against the group table).<br>
Is this what you are testing ?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/558#issuecomment-114556751">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciZa9Sbn4S5D-ZFye_hp2gJ7b1GOzks5oWXohgaJpZM4FEM2d.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/558#issuecomment-114556751"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>