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