added .any regex function to regex factory