fix for regex factory any