Fixed moosificator regex indexing issue

@alexandre-normand