From: merlyn@... (Randal L. Schwartz) Date: 2001-03-21T03:10:01+09:00 Subject: [ruby-talk:12969] Re: email address regexp >>>>> "Mathieu" == Mathieu Bouchard writes: Mathieu> Ok. And somehow, the URL matcher's email matcher is more simple than the Mathieu> "real" email matcher??? Yes, it's just the syntax to get the RFC822 payload into the URL. It doesn't match valid RFC822 email addresses... just the container they come in. :) Mathieu> Then WHY THE HELL are you pasting what _is_ basically Mathieu> "compiler output" in a mailing list like this? This is not Mathieu> alt.binaries.sex.regexp! To show that a "regexp" to match email cannot be written in one short line, as had been posted further up the thread. The problem is harder, *MUCH* harder, than most people seem to understand. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!