• 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: Regex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex


  • Subject: Re: Regex
  • From: "Mr. Gecko" <email@hidden>
  • Date: Mon, 17 Nov 2008 19:48:03 -0600

I've never thought of that, but I am using NSURL because I want it to be a crawler.
I'll see if I can do that with what I got so far.


On Nov 17, 2008, at 7:43 PM, Andrew Farmer wrote:

On 17 Nov 08, at 17:04, Mr. Gecko wrote:
Hello I have been trying to find a good Regex framework for cocoa.
I am trying to find urls in an html page...

Assuming that you're loading the web page into a WebView or similar, you'll have a much easier time doing this through the HTML DOM. Trying to parse HTML with regular expressions is risky, as there are numerous edge cases which are easy to miss.

_______________________________________________

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: 
 >Regex (From: "Mr. Gecko" <email@hidden>)
 >Re: Regex (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: Regex
  • Next by Date: Re: Regex
  • Previous by thread: Re: Regex
  • Next by thread: Re: Regex
  • Index(es):
    • Date
    • Thread