Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Ashley Sheridan
On Tue, 2011-01-11 at 14:44 -0500, Steve Staples wrote: > On Tue, 2011-01-11 at 19:00 +, Ashley Sheridan wrote: > > On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote: > > > > > Hello Ashley Sheridan, > > > > > > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter: > > > > Also, ea

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Steve Staples
On Tue, 2011-01-11 at 19:00 +, Ashley Sheridan wrote: > On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote: > > > Hello Ashley Sheridan, > > > > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter: > > > Also, each label is checked to ensure it doesn't run over 63 characters, > > >

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
Michelle Konzack wrote: > Hello Ashley Sheridan, > > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter: >> Also, each label is checked to ensure it doesn't run over 63 >> characters, and the whole thing isn't over 253 characters. Lastly, >> each label is checked to ensure it doesn't complete

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Ashley Sheridan
On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote: > Hello Ashley Sheridan, > > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter: > > Also, each label is checked to ensure it doesn't run over 63 characters, > > and the whole thing isn't over 253 characters. Lastly, each label is > >

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
tedd wrote: > At 11:54 AM +0100 1/11/11, Per Jessen wrote: >>tedd wrote: >> >>> At that time, I registered almost 30 names. >>> Fortunately, all of my names passed and I was >>> permitted to keep them. Unfortunately, all >>> browser manufactures (except Safari) negated some >>> of the work do

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread tedd
At 11:54 AM +0100 1/11/11, Per Jessen wrote: tedd wrote: At that time, I registered almost 30 names. Fortunately, all of my names passed and I was permitted to keep them. Unfortunately, all browser manufactures (except Safari) negated some of the work done by the IDNS WG and as a result P

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Per Jessen
tedd wrote: > At that time, I registered almost 30 names. > Fortunately, all of my names passed and I was > permitted to keep them. Unfortunately, all > browser manufactures (except Safari) negated some > of the work done by the IDNS WG and as a result > PUNYCODE is shown instead of the actual > c

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-10 Thread tedd
At 11:57 AM -0500 1/10/11, Steve Staples wrote: On Mon, 2011-01-10 at 11:39 -0500, tedd wrote: > >>>For example -- >>> >>>http://xn--19g.com >>> > >>>-- is square-root dot com. on my Ubuntu box, I can copy and past the ˆ (square-root) character and it displays properly in he address bar

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-10 Thread Steve Staples
On Mon, 2011-01-10 at 11:39 -0500, tedd wrote: > At 11:41 AM -0600 1/9/11, Donovan Brooke wrote: > >Daniel Brown wrote: > >>On Sun, Jan 9, 2011 at 11:58, tedd wrote: > >>> > >>>For example -- > >>> > >>>http://xn--19g.com > >>> > >>>-- is square-root dot com. In all browsers except Safari... > > >

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-10 Thread tedd
At 11:41 AM -0600 1/9/11, Donovan Brooke wrote: Daniel Brown wrote: On Sun, Jan 9, 2011 at 11:58, tedd wrote: For example -- http://xn--19g.com -- is square-root dot com. In all browsers except Safari... but yes, the actual square root character appears in safari only. Interesting! Donov

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-10 Thread tedd
At 12:23 PM -0500 1/9/11, Daniel Brown wrote: On Sun, Jan 9, 2011 at 11:58, tedd wrote: For example -- http://xn--19g.com > -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown in the address bar, but in Safari it's shown as –.com Not sure if that's a typo

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Ashley Sheridan
On Sun, 2011-01-09 at 12:38 -0500, Daniel Brown wrote: > On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan > wrote: > > > > ^ is to the power of, not square root, which is √, which does translate to > > Tedds domain > > Thanks for the math lesson, professor, but I already knew that. ;-P > >

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Ashley Sheridan
On Sun, 2011-01-09 at 12:23 -0500, Daniel Brown wrote: > On Sun, Jan 9, 2011 at 11:58, tedd wrote: > > > > For example -- > > > > http://xn--19g.com > > > > -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown > > in the address bar, but in Safari it's shown as ˆ.com > >

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Donovan Brooke
Daniel Brown wrote: On Sun, Jan 9, 2011 at 11:58, tedd wrote: For example -- http://xn--19g.com -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown in the address bar, but in Safari it's shown as ˆ.com Not sure if that's a typo or an issue in translation while

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Daniel Brown
On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan wrote: > > ^ is to the power of, not square root, which is √, which does translate to > Tedds domain Thanks for the math lesson, professor, but I already knew that. ;-P My point is, and as you can see in the quoted text from my email, that

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Daniel Brown
On Sun, Jan 9, 2011 at 11:58, tedd wrote: > > For example -- > > http://xn--19g.com > > -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown > in the address bar, but in Safari it's shown as ˆ.com Not sure if that's a typo or an issue in translation while the email was

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread tedd
At 12:15 PM +0100 1/9/11, Per Jessen wrote: Tamara Temple wrote: > I'm wondering what mods to make for this now that unicode chars are allowed in domain names You're talking about IDNs ? The actual domain name is still US-ASCII, only when you decode punycode do you get UTF8 characters.

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Per Jessen
Tamara Temple wrote: > On Jan 8, 2011, at 2:22 PM, Al wrote: > >> >> >> On 1/8/2011 3:55 AM, WalkinRaven wrote: >>> PHP 5.3 PCRE >>> >>> Regular Express to match domain names format according to RFC 1034 >>> - DOMAIN >>> NAMES - CONCEPTS AND FACILITIES >>> >>> /^ >>> ( >>> [a-z] | >>> [a-z] (?:[a

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-08 Thread Tamara Temple
On Jan 8, 2011, at 2:22 PM, Al wrote: On 1/8/2011 3:55 AM, WalkinRaven wrote: PHP 5.3 PCRE Regular Express to match domain names format according to RFC 1034 - DOMAIN NAMES - CONCEPTS AND FACILITIES /^ ( [a-z] | [a-z] (?:[a-z]|[0-9]) | [a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9]) ) # O