@@ -1,7 +1,7 @@
MEMBERGROUPREGEX=escape($MEMBERGROUP)
foreach (tolower $ADDR) =~ /^$MEMBERGROUPREGEX$/
{
- foreach /^(To|Cc):\s+(.*)\s+\<$MEMBERGROUPREGEX\>$/
+ foreach /^(To|Cc):[ \f\n\r\t'"]*(.*?)[ \f\n\r\t'"]*\<$MEMBERGROUPREGEX\>$/
TOALIAS=$MATCH2
}
ORGANIZERGROUPREGEX=escape($ORGANIZERGROUP)
foreach (tolower $ADDR) =~ /^$ORGANIZERGROUPREGEX$/
- foreach /^(To|Cc):\s+(.*)\s+\<$ORGANIZERGROUPREGEX\>$/
+ foreach /^(To|Cc):[ \f\n\r\t'"]*(.*?)[ \f\n\r\t'"]*\<$ORGANIZERGROUPREGEX\>$/