• 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: Peter N Lewis <email@hidden>
  • Date: Tue, 18 Nov 2008 10:56:11 +0900

Hello I have been trying to find a good Regex framework for cocoa.
I am trying to find urls in an html page, I have this regex from php that I made so all I would need is a way to bring it to cocoa, the regex is /<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>.*<\/a>/siU

<http://www.google.com/search?client=safari&rls=en-au&q=regexp+cocoa&ie=UTF-8&oe=UTF-8>

gives

<http://www.cocoadev.com/index.pl?RegularExpressions>

Which lists lots of information.

I've used RegexKitLite which works well on Mac OS X. RegexKit appears to have forked in to two variants:

The original RegexKit which does not seem to be getting further development (since the start of 2008) which uses PCRE 7.6

And the newer RegexKitLite which appears to be getting the bulk of development now, which uses the ICU library which is shipped with Mac OS X (but not public on iPhone).

Enjoy,
   Peter.

--
              Keyboard Maestro 3 Now Available!
                Now With Status Menu triggers!

Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/>           <http://download.stairways.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

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Regex (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: Help on Software update application
  • Next by Date: Re: Outlets / IBOutlet declarations (was Re: Interface Builder & Wiring Objects)
  • Previous by thread: Re: Regex
  • Next by thread: Re: Regex
  • Index(es):
    • Date
    • Thread