• 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: Using NSPredicate to parse strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSPredicate to parse strings


  • Subject: Re: Using NSPredicate to parse strings
  • From: Jonathan Dann <email@hidden>
  • Date: Tue, 4 Mar 2008 11:25:18 +0000



On 3 Mar 2008, at 18:23, Dave Camp <email@hidden> wrote:

On Mar 3, 2008, at 10:12 AM, Jonathan Dann wrote:

On 3 Mar 2008, at 16:16, Mike Abdullah <email@hidden> wrote:

Jonathon, you'll have much better luck with NSScanner. It's designed for exactly what you want.

Mike.


Thanks Mike, just tried it and it works quite well. Any way of using NSScanner directly with regex? Not sure if its really necessary for my code but would probably be very useful, alternatively I'll just use NSPredicate to avoid scanning for stuff that isn't there.

I'd highly recommend <https://sourceforge.net/projects/regexkit/>

Dave


Dave, you're a legend!

That is a seriously good framework, and the documentation is great too.

Much appreciated,

Jon
_______________________________________________

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


  • Follow-Ups:
    • Re: regexkit [Using NSPredicate to parse strings]
      • From: Jens Alfke <email@hidden>
References: 
 >Using NSPredicate to parse strings (From: Jonathan Dann <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Mike Abdullah <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Jonathan Dann <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: Relaunching an application
  • Next by Date: Re: Traversing windows with Cocoa
  • Previous by thread: Re: Using NSPredicate to parse strings
  • Next by thread: Re: regexkit [Using NSPredicate to parse strings]
  • Index(es):
    • Date
    • Thread