From: Daniel Carrera Date: 2003-01-27T05:53:51+09:00 Subject: Re: common regular expressions On Mon, Jan 27, 2003 at 05:41:17AM +0900, Sam Roberts wrote: > How about we take: > > "hi y@"."ruby \",master!" ( ... a comment!!) @ u%me . u+me . u-me > > its syntactically valid, too! Though admittedly unusual... I only meant to write an "approximate" RE that would work most of the time. Writing a truly comprehensive RE would be very difficult and probably not even worth it. For instance, did you know that the backspace character is technically allowed? Your address could be: @domain.com But who's really going to have a backspace in their email address? (good luck getting any email there). It's better to just ignore this possibility. Cheers, -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137