Re: NSURL and NSRegularExpression
Re: NSURL and NSRegularExpression
- Subject: Re: NSURL and NSRegularExpression
- From: R <email@hidden>
- Date: Sat, 03 Mar 2012 19:27:48 -0800 (PST)
All good, valid and useful points.
However, I would at least like to maintain the same functionality of
the Twitter App for iPhone.
The app does does a pretty good job of detecting and reviewing the URL
to determine if it can be assumed to be 20 characters.
On Mar 3, 7:16 pm, Conrad Shultz <email@hidden>
wrote:
> On 3/3/12 5:48 PM, Jens Alfke wrote:
>
> > Look up the hostname. No ping required.
>
> As I mentioned in the reply I just posted, even looking up the hostname
> is potentially problematic. One obvious case that I overlooked in my
> response: mandatory hostname lookup will cripple your functionality if
> you don't have an active network connection.
>
> As for ping, not only does the OP not need it, they shouldn't even think
> about using it. A *huge* number of sites block ICMP echo requests. For
> example, cnn.com (employing the OP's example) doesn't respond to ping!
>
> This then quickly leads us down the reachability/two generals rabbit
> hole that this list seems doomed to repeat every six months or so.
>
> > Honestly, use Data Detectors.
>
> Ditto, of course.
>
> --
> Conrad Shultz
>
> Synthetiq Solutionswww.synthetiqsolutions.com
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden