Getting group from regexp