#307 - relax literal checking in regex extension