• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL and NSRegularExpression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL and NSRegularExpression


  • Subject: Re: NSURL and NSRegularExpression
  • From: Per Bull Holmen <email@hidden>
  • Date: Sun, 04 Mar 2012 02:42:04 +0100

Den 02:06 4. mars 2012 skrev R <email@hidden> følgende:
> Thanks Conrad, much cleaner indeed.  But, this does not solve my
> invalid internet URL issues.... still accepts pretty much any URL.

Just a little suggestion: How about not trying to be perfect? My mail
client (Google mail) also accepts your Bad URL example. If, at some
point a user should post something that looks awfully much like an
URL, but actually it was his favourite food recipe... I'm sure he will
be understanding. How about just work with your regular expressions
and try to narrow down the patterns it will accept?

Per

_______________________________________________

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


References: 
 >NSURL and NSRegularExpression (From: R <email@hidden>)
 >Re: NSURL and NSRegularExpression (From: Conrad Shultz <email@hidden>)
 >Re: NSURL and NSRegularExpression (From: R <email@hidden>)

  • Prev by Date: Re: NSURL and NSRegularExpression
  • Next by Date: Re: NSURL and NSRegularExpression
  • Previous by thread: Re: NSURL and NSRegularExpression
  • Next by thread: Re: NSURL and NSRegularExpression
  • Index(es):
    • Date
    • Thread