Hi Wojciech,
Thanks for reporting this problem. I've updated the samples, so they
should be working for you now.
~Arne
On Feb 5, 2008 7:42 AM, Wojciech Polak <wojc...@gmail.com> wrote:
Hello,
There is an error in sample apps in the following regular expression:
urlRegex = new RegExp("([^:]*):[/]*[www\.]*([^/]+)([^\?]*)(.*)");
It should be:
urlRegex = new RegExp("([^:]*):[/]*(www\.)*([^/]+)([^\?]*)(.*)");
(and urlbits[2] => urlbits[3], urlbits[3] => urlbits[4] respectively)
Otherwise, a host name beginning with "w" is truncated,
for instance my domain: wojciechpolak.org
Regards,
Wojciech