add separate member_regex function. will remove if merged puppetlabs/puppetlabs-stdlib/pull/141