From: Junio C Hamano Date: Tue, 06 Jun 2006 16:58:23 GMT Subject: Re: [PATCH] Cleanup git-send-email.perl:extract_valid_email Message-ID: <7vlksate4w.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200606061605.k56G5gHo006581@laptop11.inf.utfsm.cl> Horst von Brand writes: > Junio C Hamano wrote: >> but I am >> inclined to do this instead: >> >> my $domain_regexp = '[^.<>"\s@]+(?:\.[^.<>"\s@]+)+'; >> >> (i.e. still require at least two levels). > > OK, but be careful as this (?:...) is an extended regexp (needs /x on > match). Are you sure about /x?