enable auto index on the regex matches