create a single regex