Re: [PATCH] Cleanup git-send-email.perl:extract_valid_email
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 6, 2006, 16:58 UTC
- Message-ID
- <7vlksate4w.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200606061605.k56G5gHo006581@laptop11.inf.utfsm.cl>
Horst von Brand <vonbrand@inf.utfsm.cl> writes:
Show 10 quoted lines
> Junio C Hamano <junkio@cox.net> 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?