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