create regex dict