[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Programmers with network engineering skills
- Subject: Programmers with network engineering skills
- From: oscar.vives at gmail.com (Tei)
- Date: Mon, 12 Mar 2012 12:46:52 -0700
- In-reply-to: <[email protected]>
- References: <CAHGyo+-ewO5nZi6FECA_nBWSHvQ7h7-okTa51LiwRJJWYyAfRA@mail.gmail.com> <[email protected]> <[email protected]>
On 12 March 2012 09:59, Carlos Martinez-Cagnazzo <carlosm3011 at gmail.com> wrote:
> Hey!
>
> On 3/8/12 8:24 PM, Lamar Owen wrote:
>> On Monday, March 05, 2012 09:36:41 PM Jimmy Hess wrote:
>> ...
>>> ? ?(16) ?The default gateway's IP address is always 192.168.0.1
>>> ? ?(17) The user portion of E-mail addresses never contain special
>>> characters like ?"-" "+" ?"$" ? "~" ?"." ?",", "[", ?"]"
> I've just had my ' xx AT cagnazzo.name' email address rejected by a web
> form saying that 'it is not a valid email address'. So I guess point
> (17) can be extended to say that 'no email address shall end in anything
> different that .com, .net or the local ccTLD'
>
> :=)
>
> Carlos
Yea, I don't even know how programmers can get that wrong. The regex
is not even hard or anything.
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
--
--
?in del ?ensaje.