Fix srg_create when calling ejabberd_regexp (fixes issue #12)