1 if !/^(people+|people-outgoing+|resources+|resource-).*@example\.com$/ 2 /^(.*)@(example\.com)$/ people-outgoing+${1}@${2} 3 endif